Interface AlarmEventActions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AlarmEventActions.Builder,
,AlarmEventActions> SdkBuilder<AlarmEventActions.Builder,
,AlarmEventActions> SdkPojo
- Enclosing class:
AlarmEventActions
public static interface AlarmEventActions.Builder
extends SdkPojo, CopyableBuilder<AlarmEventActions.Builder,AlarmEventActions>
-
Method Summary
Modifier and TypeMethodDescriptionalarmActions
(Collection<AlarmAction> alarmActions) Specifies one or more supported actions to receive notifications when the alarm state changes.alarmActions
(Consumer<AlarmAction.Builder>... alarmActions) Specifies one or more supported actions to receive notifications when the alarm state changes.alarmActions
(AlarmAction... alarmActions) Specifies one or more supported actions to receive notifications when the alarm state changes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
alarmActions
Specifies one or more supported actions to receive notifications when the alarm state changes.
- Parameters:
alarmActions
- Specifies one or more supported actions to receive notifications when the alarm state changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmActions
Specifies one or more supported actions to receive notifications when the alarm state changes.
- Parameters:
alarmActions
- Specifies one or more supported actions to receive notifications when the alarm state changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmActions
Specifies one or more supported actions to receive notifications when the alarm state changes.
This is a convenience method that creates an instance of theAlarmAction.Builder
avoiding the need to create one manually viaAlarmAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toalarmActions(List<AlarmAction>)
.- Parameters:
alarmActions
- a consumer that will call methods onAlarmAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-