Interface AlarmEventActions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AlarmEventActions.Builder,,AlarmEventActions> SdkBuilder<AlarmEventActions.Builder,,AlarmEventActions> SdkPojo
- Enclosing class:
AlarmEventActions
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaAlarmAction.builder().When the
Consumercompletes,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:
-