public static interface AlarmConfiguration.Builder extends SdkPojo, CopyableBuilder<AlarmConfiguration.Builder,AlarmConfiguration>
| Modifier and Type | Method and Description |
|---|---|
AlarmConfiguration.Builder |
alarms(Alarm... alarms)
A list of alarms configured for the deployment or deployment group.
|
AlarmConfiguration.Builder |
alarms(Collection<Alarm> alarms)
A list of alarms configured for the deployment or deployment group.
|
AlarmConfiguration.Builder |
alarms(Consumer<Alarm.Builder>... alarms)
A list of alarms configured for the deployment or 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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAlarmConfiguration.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 proceeds even if alarm status information can't be retrieved from Amazon
CloudWatch.
false: The deployment stops 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 proceeds even if alarm status information can't be retrieved from
Amazon CloudWatch.
false: The deployment stops 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 or deployment group. A maximum of 10 alarms can be added.
alarms - A list of alarms configured for the deployment or deployment group. A maximum of 10 alarms can be
added.AlarmConfiguration.Builder alarms(Alarm... alarms)
A list of alarms configured for the deployment or deployment group. A maximum of 10 alarms can be added.
alarms - A list of alarms configured for the deployment or deployment group. A maximum of 10 alarms can be
added.AlarmConfiguration.Builder alarms(Consumer<Alarm.Builder>... alarms)
A list of alarms configured for the deployment or deployment group. A maximum of 10 alarms can be added.
This is a convenience method that creates an instance of theAlarm.Builder avoiding the need to create one
manually via Alarm.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #alarms(List.
alarms - a consumer that will call methods on
Alarm.Builder#alarms(java.util.Collection) Copyright © 2023. All rights reserved.