Interface DeploymentAlarms.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeploymentAlarms.Builder,
,DeploymentAlarms> SdkBuilder<DeploymentAlarms.Builder,
,DeploymentAlarms> SdkPojo
- Enclosing class:
DeploymentAlarms
@Mutable
@NotThreadSafe
public static interface DeploymentAlarms.Builder
extends SdkPojo, CopyableBuilder<DeploymentAlarms.Builder,DeploymentAlarms>
-
Method Summary
Modifier and TypeMethodDescriptionalarmNames
(String... alarmNames) One or more CloudWatch alarm names.alarmNames
(Collection<String> alarmNames) One or more CloudWatch alarm names.Determines whether to use the CloudWatch alarm option in the service deployment process.Determines whether to configure Amazon ECS to roll back the service if a service deployment fails.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
alarmNames
One or more CloudWatch alarm names. Use a "," to separate the alarms.
- Parameters:
alarmNames
- One or more CloudWatch alarm names. Use a "," to separate the alarms.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmNames
One or more CloudWatch alarm names. Use a "," to separate the alarms.
- Parameters:
alarmNames
- One or more CloudWatch alarm names. Use a "," to separate the alarms.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rollback
Determines whether to configure Amazon ECS to roll back the service if a service deployment fails. If rollback is used, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.
- Parameters:
rollback
- Determines whether to configure Amazon ECS to roll back the service if a service deployment fails. If rollback is used, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enable
Determines whether to use the CloudWatch alarm option in the service deployment process.
- Parameters:
enable
- Determines whether to use the CloudWatch alarm option in the service deployment process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-