public static final class AutoRollbackConfig.Builder
extends java.lang.Object
AutoRollbackConfig
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AutoRollbackConfig |
build()
Builds the configured instance.
|
AutoRollbackConfig.Builder |
deploymentInAlarm(java.lang.Boolean deploymentInAlarm)
Sets the value of
AutoRollbackConfig.getDeploymentInAlarm() |
AutoRollbackConfig.Builder |
failedDeployment(java.lang.Boolean failedDeployment)
Sets the value of
AutoRollbackConfig.getFailedDeployment() |
AutoRollbackConfig.Builder |
stoppedDeployment(java.lang.Boolean stoppedDeployment)
Sets the value of
AutoRollbackConfig.getStoppedDeployment() |
public AutoRollbackConfig.Builder deploymentInAlarm(java.lang.Boolean deploymentInAlarm)
AutoRollbackConfig.getDeploymentInAlarm()
deploymentInAlarm
- Whether to automatically roll back a deployment during which one of the configured CloudWatch alarms for this Deployment Group went off.this
public AutoRollbackConfig.Builder failedDeployment(java.lang.Boolean failedDeployment)
AutoRollbackConfig.getFailedDeployment()
failedDeployment
- Whether to automatically roll back a deployment that fails.this
public AutoRollbackConfig.Builder stoppedDeployment(java.lang.Boolean stoppedDeployment)
AutoRollbackConfig.getStoppedDeployment()
stoppedDeployment
- Whether to automatically roll back a deployment that was manually stopped.this
public AutoRollbackConfig build()
AutoRollbackConfig
java.lang.NullPointerException
- if any required attribute was not provided