public static interface DeploymentAlarms.Builder extends SdkPojo, CopyableBuilder<DeploymentAlarms.Builder,DeploymentAlarms>
| Modifier and Type | Method and Description |
|---|---|
DeploymentAlarms.Builder |
alarmNames(Collection<String> alarmNames)
One or more CloudWatch alarm names.
|
DeploymentAlarms.Builder |
alarmNames(String... alarmNames)
One or more CloudWatch alarm names.
|
DeploymentAlarms.Builder |
enable(Boolean enable)
Determines whether to use the CloudWatch alarm option in the service deployment process.
|
DeploymentAlarms.Builder |
rollback(Boolean rollback)
Determines whether to configure Amazon ECS to roll back the service if a service deployment fails.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDeploymentAlarms.Builder alarmNames(Collection<String> alarmNames)
One or more CloudWatch alarm names. Use a "," to separate the alarms.
alarmNames - One or more CloudWatch alarm names. Use a "," to separate the alarms.DeploymentAlarms.Builder alarmNames(String... alarmNames)
One or more CloudWatch alarm names. Use a "," to separate the alarms.
alarmNames - One or more CloudWatch alarm names. Use a "," to separate the alarms.DeploymentAlarms.Builder enable(Boolean enable)
Determines whether to use the CloudWatch alarm option in the service deployment process.
enable - Determines whether to use the CloudWatch alarm option in the service deployment process.DeploymentAlarms.Builder rollback(Boolean 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.
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.Copyright © 2023. All rights reserved.