public static interface AlarmConfiguration.Builder extends SdkPojo, CopyableBuilder<AlarmConfiguration.Builder,AlarmConfiguration>
| Modifier and Type | Method and Description |
|---|---|
AlarmConfiguration.Builder |
alarms(Alarm... alarms)
The name of the CloudWatch alarm specified in the configuration.
|
AlarmConfiguration.Builder |
alarms(Collection<Alarm> alarms)
The name of the CloudWatch alarm specified in the configuration.
|
AlarmConfiguration.Builder |
alarms(Consumer<Alarm.Builder>... alarms)
The name of the CloudWatch alarm specified in the configuration.
|
AlarmConfiguration.Builder |
ignorePollAlarmFailure(Boolean ignorePollAlarmFailure)
When this value is true, your automation or command continues to run in cases where we can’t retrieve
alarm status information from CloudWatch.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAlarmConfiguration.Builder ignorePollAlarmFailure(Boolean ignorePollAlarmFailure)
When this value is true, your automation or command continues to run in cases where we can’t retrieve alarm status information from CloudWatch. In cases where we successfully retrieve an alarm status of OK or INSUFFICIENT_DATA, the automation or command continues to run, regardless of this value. Default is false.
ignorePollAlarmFailure - When this value is true, your automation or command continues to run in cases where we can’t
retrieve alarm status information from CloudWatch. In cases where we successfully retrieve an alarm
status of OK or INSUFFICIENT_DATA, the automation or command continues to run, regardless of this
value. Default is false.AlarmConfiguration.Builder alarms(Collection<Alarm> alarms)
The name of the CloudWatch alarm specified in the configuration.
alarms - The name of the CloudWatch alarm specified in the configuration.AlarmConfiguration.Builder alarms(Alarm... alarms)
The name of the CloudWatch alarm specified in the configuration.
alarms - The name of the CloudWatch alarm specified in the configuration.AlarmConfiguration.Builder alarms(Consumer<Alarm.Builder>... alarms)
The name of the CloudWatch alarm specified in the configuration.
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.