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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AlarmEventActions.BuilderalarmActions(Collection<AlarmAction> alarmActions)Specifies one or more supported actions to receive notifications when the alarm state changes.AlarmEventActions.BuilderalarmActions(Consumer<AlarmAction.Builder>... alarmActions)Specifies one or more supported actions to receive notifications when the alarm state changes.AlarmEventActions.BuilderalarmActions(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 Detail
-
alarmActions
AlarmEventActions.Builder alarmActions(Collection<AlarmAction> 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
AlarmEventActions.Builder alarmActions(AlarmAction... 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
AlarmEventActions.Builder alarmActions(Consumer<AlarmAction.Builder>... 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.Builderavoiding the need to create one manually viaAlarmAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#alarmActions(List.) - 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:
#alarmActions(java.util.Collection)
-
-