@Stability(value=Experimental) 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 |
withDeploymentInAlarm(Boolean value)
Sets the value of DeploymentInAlarm
|
AutoRollbackConfig.Builder |
withFailedDeployment(Boolean value)
Sets the value of FailedDeployment
|
AutoRollbackConfig.Builder |
withStoppedDeployment(Boolean value)
Sets the value of StoppedDeployment
|
@Stability(value=Experimental) public AutoRollbackConfig.Builder withDeploymentInAlarm(@Nullable Boolean value)
value - Whether to automatically roll back a deployment during which one of the configured CloudWatch alarms for this Deployment Group went off.this@Stability(value=Experimental) public AutoRollbackConfig.Builder withFailedDeployment(@Nullable Boolean value)
value - Whether to automatically roll back a deployment that fails.this@Stability(value=Experimental) public AutoRollbackConfig.Builder withStoppedDeployment(@Nullable Boolean value)
value - Whether to automatically roll back a deployment that was manually stopped.this@Stability(value=Experimental) public AutoRollbackConfig build()
AutoRollbackConfigNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.