CopyableBuilder<AlarmConfiguration.Builder,AlarmConfiguration>
, SdkBuilder<AlarmConfiguration.Builder,AlarmConfiguration>
public static interface AlarmConfiguration.Builder extends CopyableBuilder<AlarmConfiguration.Builder,AlarmConfiguration>
Modifier and Type | Method | Description |
---|---|---|
AlarmConfiguration.Builder |
alarms(Collection<Alarm> alarms) |
A list of alarms configured for the deployment group.
|
AlarmConfiguration.Builder |
alarms(Alarm... alarms) |
A list of alarms configured for the deployment group.
|
AlarmConfiguration.Builder |
enabled(Boolean enabled) |
Indicates whether the alarm configuration is enabled.
|
AlarmConfiguration.Builder |
ignorePollAlarmFailure(Boolean ignorePollAlarmFailure) |
Indicates whether a deployment should continue if information about the current state of alarms cannot be
retrieved from Amazon CloudWatch.
|
copy
apply, build
AlarmConfiguration.Builder enabled(Boolean enabled)
Indicates whether the alarm configuration is enabled.
enabled
- Indicates whether the alarm configuration is enabled.AlarmConfiguration.Builder ignorePollAlarmFailure(Boolean 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 will proceed even if alarm status information can't be retrieved from Amazon CloudWatch.
false: The deployment will stop if alarm status information can't be retrieved from Amazon CloudWatch.
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 will proceed even if alarm status information can't be retrieved from Amazon CloudWatch.
false: The deployment will stop if alarm status information can't be retrieved from Amazon CloudWatch.
AlarmConfiguration.Builder alarms(Collection<Alarm> alarms)
A list of alarms configured for the deployment group. A maximum of 10 alarms can be added to a deployment group.
alarms
- A list of alarms configured for the deployment group. A maximum of 10 alarms can be added to a
deployment group.AlarmConfiguration.Builder alarms(Alarm... alarms)
A list of alarms configured for the deployment group. A maximum of 10 alarms can be added to a deployment group.
NOTE: This method appends the values to the existing list (if any). Use
#setAlarms(java.util.Collection)
or #withAlarms(java.util.Collection)
if you want to override
the existing values.
alarms
- A list of alarms configured for the deployment group. A maximum of 10 alarms can be added to a
deployment group.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.