Interface AlarmNotification.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AlarmNotification.Builder,AlarmNotification>,SdkBuilder<AlarmNotification.Builder,AlarmNotification>,SdkPojo
- Enclosing class:
- AlarmNotification
public static interface AlarmNotification.Builder extends SdkPojo, CopyableBuilder<AlarmNotification.Builder,AlarmNotification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AlarmNotification.BuildernotificationActions(Collection<NotificationAction> notificationActions)Contains the notification settings of an alarm model.AlarmNotification.BuildernotificationActions(Consumer<NotificationAction.Builder>... notificationActions)Contains the notification settings of an alarm model.AlarmNotification.BuildernotificationActions(NotificationAction... notificationActions)Contains the notification settings of an alarm model.-
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
-
notificationActions
AlarmNotification.Builder notificationActions(Collection<NotificationAction> notificationActions)
Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.
- Parameters:
notificationActions- Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationActions
AlarmNotification.Builder notificationActions(NotificationAction... notificationActions)
Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.
- Parameters:
notificationActions- Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationActions
AlarmNotification.Builder notificationActions(Consumer<NotificationAction.Builder>... notificationActions)
Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.
This is a convenience method that creates an instance of theNotificationAction.Builderavoiding the need to create one manually viaNotificationAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#notificationActions(List.) - Parameters:
notificationActions- a consumer that will call methods onNotificationAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#notificationActions(java.util.Collection)
-
-