Interface DaemonRevisionDetail.Builder

  • Method Details

    • arn

      The Amazon Resource Name (ARN) of the daemon revision.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the daemon revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capacityProviders

      DaemonRevisionDetail.Builder capacityProviders(Collection<DaemonCapacityProvider> capacityProviders)

      The capacity providers associated with this daemon revision.

      Parameters:
      capacityProviders - The capacity providers associated with this daemon revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capacityProviders

      DaemonRevisionDetail.Builder capacityProviders(DaemonCapacityProvider... capacityProviders)

      The capacity providers associated with this daemon revision.

      Parameters:
      capacityProviders - The capacity providers associated with this daemon revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capacityProviders

      DaemonRevisionDetail.Builder capacityProviders(Consumer<DaemonCapacityProvider.Builder>... capacityProviders)

      The capacity providers associated with this daemon revision.

      This is a convenience method that creates an instance of the DaemonCapacityProvider.Builder avoiding the need to create one manually via DaemonCapacityProvider.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to capacityProviders(List<DaemonCapacityProvider>).

      Parameters:
      capacityProviders - a consumer that will call methods on DaemonCapacityProvider.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • totalRunningCount

      DaemonRevisionDetail.Builder totalRunningCount(Integer totalRunningCount)

      The total number of daemon tasks running for this revision.

      Parameters:
      totalRunningCount - The total number of daemon tasks running for this revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalWithoutDaemonCount

      DaemonRevisionDetail.Builder totalWithoutDaemonCount(Integer totalWithoutDaemonCount)

      The total number of instances running without the daemon task for this revision, across all capacity providers. These instances aren't included in totalRunningCount.

      Parameters:
      totalWithoutDaemonCount - The total number of instances running without the daemon task for this revision, across all capacity providers. These instances aren't included in totalRunningCount.
      Returns:
      Returns a reference to this object so that method calls can be chained together.