Interface DaemonDeploymentCapacityProvider.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DaemonDeploymentCapacityProvider.Builder,,DaemonDeploymentCapacityProvider> SdkBuilder<DaemonDeploymentCapacityProvider.Builder,,DaemonDeploymentCapacityProvider> SdkPojo
- Enclosing class:
DaemonDeploymentCapacityProvider
@Mutable
@NotThreadSafe
public static interface DaemonDeploymentCapacityProvider.Builder
extends SdkPojo, CopyableBuilder<DaemonDeploymentCapacityProvider.Builder,DaemonDeploymentCapacityProvider>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the capacity provider.drainingInstanceCount(Integer drainingInstanceCount) The number of instances being drained on this capacity provider during the deployment.runningInstanceCount(Integer runningInstanceCount) The number of instances running daemon tasks on this capacity provider.withoutDaemonInstanceCount(Integer withoutDaemonInstanceCount) The number of instances on this capacity provider that are running without the daemon task.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 capacity provider.
- Parameters:
arn- The Amazon Resource Name (ARN) of the capacity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runningInstanceCount
The number of instances running daemon tasks on this capacity provider.
- Parameters:
runningInstanceCount- The number of instances running daemon tasks on this capacity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withoutDaemonInstanceCount
DaemonDeploymentCapacityProvider.Builder withoutDaemonInstanceCount(Integer withoutDaemonInstanceCount) The number of instances on this capacity provider that are running without the daemon task. This applies to daemons that aren't critical, where the instance remains available for your other tasks even if the daemon task can't start or stops. These instances aren't included in
runningInstanceCount.- Parameters:
withoutDaemonInstanceCount- The number of instances on this capacity provider that are running without the daemon task. This applies to daemons that aren't critical, where the instance remains available for your other tasks even if the daemon task can't start or stops. These instances aren't included inrunningInstanceCount.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
drainingInstanceCount
The number of instances being drained on this capacity provider during the deployment.
- Parameters:
drainingInstanceCount- The number of instances being drained on this capacity provider during the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-