Interface DaemonDeploymentConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DaemonDeploymentConfiguration.Builder,,DaemonDeploymentConfiguration> SdkBuilder<DaemonDeploymentConfiguration.Builder,,DaemonDeploymentConfiguration> SdkPojo
- Enclosing class:
DaemonDeploymentConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionThe CloudWatch alarm configuration for the daemon deployment.alarms(DaemonAlarmConfiguration alarms) The CloudWatch alarm configuration for the daemon deployment.bakeTimeInMinutes(Integer bakeTimeInMinutes) The amount of time (in minutes) to wait after a successful deployment step before proceeding.drainPercent(Double drainPercent) The percentage of container instances to drain simultaneously during a daemon deployment.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
-
drainPercent
The percentage of container instances to drain simultaneously during a daemon deployment. Valid values are between 0.0 and 100.0.
- Parameters:
drainPercent- The percentage of container instances to drain simultaneously during a daemon deployment. Valid values are between 0.0 and 100.0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarms
The CloudWatch alarm configuration for the daemon deployment. When alarms are triggered during a deployment, the deployment can be automatically rolled back.
- Parameters:
alarms- The CloudWatch alarm configuration for the daemon deployment. When alarms are triggered during a deployment, the deployment can be automatically rolled back.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarms
default DaemonDeploymentConfiguration.Builder alarms(Consumer<DaemonAlarmConfiguration.Builder> alarms) The CloudWatch alarm configuration for the daemon deployment. When alarms are triggered during a deployment, the deployment can be automatically rolled back.
This is a convenience method that creates an instance of theDaemonAlarmConfiguration.Builderavoiding the need to create one manually viaDaemonAlarmConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toalarms(DaemonAlarmConfiguration).- Parameters:
alarms- a consumer that will call methods onDaemonAlarmConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bakeTimeInMinutes
The amount of time (in minutes) to wait after a successful deployment step before proceeding. This allows time to monitor for issues before continuing. The default value is 0.
- Parameters:
bakeTimeInMinutes- The amount of time (in minutes) to wait after a successful deployment step before proceeding. This allows time to monitor for issues before continuing. The default value is 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-