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
|
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.thispublic AutoRollbackConfig.Builder withFailedDeployment(@Nullable Boolean value)
value - Whether to automatically roll back a deployment that fails.thispublic AutoRollbackConfig.Builder withStoppedDeployment(@Nullable Boolean value)
value - Whether to automatically roll back a deployment that was manually stopped.thispublic AutoRollbackConfig build()
AutoRollbackConfigNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.