@Stability(value=Stable) public static final class CfnDeploymentGroup.AlarmConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDeploymentGroup.AlarmConfigurationProperty>
CfnDeploymentGroup.AlarmConfigurationProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnDeploymentGroup.AlarmConfigurationProperty.Builder alarms(IResolvable alarms)
CfnDeploymentGroup.AlarmConfigurationProperty.getAlarms()alarms - A list of alarms configured for the deployment or deployment group.
A maximum of 10 alarms can be added.this@Stability(value=Stable) public CfnDeploymentGroup.AlarmConfigurationProperty.Builder alarms(List<? extends Object> alarms)
CfnDeploymentGroup.AlarmConfigurationProperty.getAlarms()alarms - A list of alarms configured for the deployment or deployment group.
A maximum of 10 alarms can be added.this@Stability(value=Stable) public CfnDeploymentGroup.AlarmConfigurationProperty.Builder enabled(Boolean enabled)
CfnDeploymentGroup.AlarmConfigurationProperty.getEnabled()enabled - Indicates whether the alarm configuration is enabled.this@Stability(value=Stable) public CfnDeploymentGroup.AlarmConfigurationProperty.Builder enabled(IResolvable enabled)
CfnDeploymentGroup.AlarmConfigurationProperty.getEnabled()enabled - Indicates whether the alarm configuration is enabled.this@Stability(value=Stable) public CfnDeploymentGroup.AlarmConfigurationProperty.Builder ignorePollAlarmFailure(Boolean ignorePollAlarmFailure)
ignorePollAlarmFailure - Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch .
The default value is false .
true : The deployment proceeds even if alarm status information can't be retrieved from CloudWatch .false : The deployment stops if alarm status information can't be retrieved from CloudWatch .this@Stability(value=Stable) public CfnDeploymentGroup.AlarmConfigurationProperty.Builder ignorePollAlarmFailure(IResolvable ignorePollAlarmFailure)
ignorePollAlarmFailure - Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch .
The default value is false .
true : The deployment proceeds even if alarm status information can't be retrieved from CloudWatch .false : The deployment stops if alarm status information can't be retrieved from CloudWatch .this@Stability(value=Stable) public CfnDeploymentGroup.AlarmConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnDeploymentGroup.AlarmConfigurationProperty>CfnDeploymentGroup.AlarmConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.