Interface DaemonRevisionDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DaemonRevisionDetail.Builder,,DaemonRevisionDetail> SdkBuilder<DaemonRevisionDetail.Builder,,DaemonRevisionDetail> SdkPojo
- Enclosing class:
DaemonRevisionDetail
@Mutable
@NotThreadSafe
public static interface DaemonRevisionDetail.Builder
extends SdkPojo, CopyableBuilder<DaemonRevisionDetail.Builder,DaemonRevisionDetail>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the daemon revision.capacityProviders(Collection<DaemonCapacityProvider> capacityProviders) The capacity providers associated with this daemon revision.capacityProviders(Consumer<DaemonCapacityProvider.Builder>... capacityProviders) The capacity providers associated with this daemon revision.capacityProviders(DaemonCapacityProvider... capacityProviders) The capacity providers associated with this daemon revision.totalRunningCount(Integer totalRunningCount) The total number of daemon tasks running for this revision.totalWithoutDaemonCount(Integer totalWithoutDaemonCount) The total number of instances running without the daemon task for this revision, across all capacity providers.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
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 theDaemonCapacityProvider.Builderavoiding the need to create one manually viaDaemonCapacityProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapacityProviders(List<DaemonCapacityProvider>).- Parameters:
capacityProviders- a consumer that will call methods onDaemonCapacityProvider.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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 intotalRunningCount.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-