Interface DaemonDeploymentRevisionDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DaemonDeploymentRevisionDetail.Builder,,DaemonDeploymentRevisionDetail> SdkBuilder<DaemonDeploymentRevisionDetail.Builder,,DaemonDeploymentRevisionDetail> SdkPojo
- Enclosing class:
DaemonDeploymentRevisionDetail
@Mutable
@NotThreadSafe
public static interface DaemonDeploymentRevisionDetail.Builder
extends SdkPojo, CopyableBuilder<DaemonDeploymentRevisionDetail.Builder,DaemonDeploymentRevisionDetail>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the daemon revision.capacityProviders(Collection<DaemonDeploymentCapacityProvider> capacityProviders) The capacity providers associated with this daemon revision during the deployment.capacityProviders(Consumer<DaemonDeploymentCapacityProvider.Builder>... capacityProviders) The capacity providers associated with this daemon revision during the deployment.capacityProviders(DaemonDeploymentCapacityProvider... capacityProviders) The capacity providers associated with this daemon revision during the deployment.totalDrainingInstanceCount(Integer totalDrainingInstanceCount) The total number of instances being drained for this revision during the deployment.totalRunningInstanceCount(Integer totalRunningInstanceCount) The total number of instances running daemon tasks for this revision.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
DaemonDeploymentRevisionDetail.Builder capacityProviders(Collection<DaemonDeploymentCapacityProvider> capacityProviders) The capacity providers associated with this daemon revision during the deployment.
- Parameters:
capacityProviders- The capacity providers associated with this daemon revision during the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityProviders
DaemonDeploymentRevisionDetail.Builder capacityProviders(DaemonDeploymentCapacityProvider... capacityProviders) The capacity providers associated with this daemon revision during the deployment.
- Parameters:
capacityProviders- The capacity providers associated with this daemon revision during the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityProviders
DaemonDeploymentRevisionDetail.Builder capacityProviders(Consumer<DaemonDeploymentCapacityProvider.Builder>... capacityProviders) The capacity providers associated with this daemon revision during the deployment.
This is a convenience method that creates an instance of theDaemonDeploymentCapacityProvider.Builderavoiding the need to create one manually viaDaemonDeploymentCapacityProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapacityProviders(List<DaemonDeploymentCapacityProvider>).- Parameters:
capacityProviders- a consumer that will call methods onDaemonDeploymentCapacityProvider.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
totalRunningInstanceCount
The total number of instances running daemon tasks for this revision.
- Parameters:
totalRunningInstanceCount- The total number of instances running daemon tasks for this revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalDrainingInstanceCount
DaemonDeploymentRevisionDetail.Builder totalDrainingInstanceCount(Integer totalDrainingInstanceCount) The total number of instances being drained for this revision during the deployment.
- Parameters:
totalDrainingInstanceCount- The total number of instances being drained for this revision during the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-