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)
If you specify
true for this value, your automation or command continue to run even if we can't
gather information about the state of your CloudWatch alarm. |
equalsBySdkFields, sdkFields
copy
applyMutation, build
AlarmConfiguration.Builder ignorePollAlarmFailure(Boolean ignorePollAlarmFailure)
If you specify true
for this value, your automation or command continue to run even if we can't
gather information about the state of your CloudWatch alarm. The default value is false
.
ignorePollAlarmFailure
- If you specify true
for this value, your automation or command continue to run even if we
can't gather information about the state of your CloudWatch alarm. The default value 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.