@Stability(value=Stable) public static final class AutoRollbackConfig.Builder extends Object
AutoRollbackConfig| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AutoRollbackConfig |
build()
Builds the configured instance.
|
AutoRollbackConfig.Builder |
deploymentInAlarm(Boolean deploymentInAlarm)
Sets the value of DeploymentInAlarm
|
AutoRollbackConfig.Builder |
failedDeployment(Boolean failedDeployment)
Sets the value of FailedDeployment
|
AutoRollbackConfig.Builder |
stoppedDeployment(Boolean stoppedDeployment)
Sets the value of StoppedDeployment
|
@Stability(value=Stable) public AutoRollbackConfig.Builder deploymentInAlarm(Boolean deploymentInAlarm)
deploymentInAlarm - Whether to automatically roll back a deployment during which one of the configured CloudWatch alarms for this Deployment Group went off.this@Stability(value=Stable) public AutoRollbackConfig.Builder failedDeployment(Boolean failedDeployment)
failedDeployment - Whether to automatically roll back a deployment that fails.this@Stability(value=Stable) public AutoRollbackConfig.Builder stoppedDeployment(Boolean stoppedDeployment)
stoppedDeployment - Whether to automatically roll back a deployment that was manually stopped.this@Stability(value=Stable) public AutoRollbackConfig build()
AutoRollbackConfigNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.