Interface NotificationConfig.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<NotificationConfig.Builder,NotificationConfig>
,SdkBuilder<NotificationConfig.Builder,NotificationConfig>
,SdkPojo
- Enclosing class:
- NotificationConfig
public static interface NotificationConfig.Builder extends SdkPojo, CopyableBuilder<NotificationConfig.Builder,NotificationConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NotificationConfig.Builder
notificationArn(String notificationArn)
An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic.NotificationConfig.Builder
notificationEvents(Collection<NotificationEvent> notificationEvents)
The different events for which you can receive notifications.NotificationConfig.Builder
notificationEvents(NotificationEvent... notificationEvents)
The different events for which you can receive notifications.NotificationConfig.Builder
notificationEventsWithStrings(String... notificationEvents)
The different events for which you can receive notifications.NotificationConfig.Builder
notificationEventsWithStrings(Collection<String> notificationEvents)
The different events for which you can receive notifications.NotificationConfig.Builder
notificationType(String notificationType)
The type of notification.NotificationConfig.Builder
notificationType(NotificationType notificationType)
The type of notification.-
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
-
notificationArn
NotificationConfig.Builder notificationArn(String notificationArn)
An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic. Run Command pushes notifications about command status changes to this topic.
- Parameters:
notificationArn
- An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic. Run Command pushes notifications about command status changes to this topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationEventsWithStrings
NotificationConfig.Builder notificationEventsWithStrings(Collection<String> notificationEvents)
The different events for which you can receive notifications. To learn more about these events, see Monitoring Systems Manager status changes using Amazon SNS notifications in the Amazon Web Services Systems Manager User Guide.
- Parameters:
notificationEvents
- The different events for which you can receive notifications. To learn more about these events, see Monitoring Systems Manager status changes using Amazon SNS notifications in the Amazon Web Services Systems Manager User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationEventsWithStrings
NotificationConfig.Builder notificationEventsWithStrings(String... notificationEvents)
The different events for which you can receive notifications. To learn more about these events, see Monitoring Systems Manager status changes using Amazon SNS notifications in the Amazon Web Services Systems Manager User Guide.
- Parameters:
notificationEvents
- The different events for which you can receive notifications. To learn more about these events, see Monitoring Systems Manager status changes using Amazon SNS notifications in the Amazon Web Services Systems Manager User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationEvents
NotificationConfig.Builder notificationEvents(Collection<NotificationEvent> notificationEvents)
The different events for which you can receive notifications. To learn more about these events, see Monitoring Systems Manager status changes using Amazon SNS notifications in the Amazon Web Services Systems Manager User Guide.
- Parameters:
notificationEvents
- The different events for which you can receive notifications. To learn more about these events, see Monitoring Systems Manager status changes using Amazon SNS notifications in the Amazon Web Services Systems Manager User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationEvents
NotificationConfig.Builder notificationEvents(NotificationEvent... notificationEvents)
The different events for which you can receive notifications. To learn more about these events, see Monitoring Systems Manager status changes using Amazon SNS notifications in the Amazon Web Services Systems Manager User Guide.
- Parameters:
notificationEvents
- The different events for which you can receive notifications. To learn more about these events, see Monitoring Systems Manager status changes using Amazon SNS notifications in the Amazon Web Services Systems Manager User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationType
NotificationConfig.Builder notificationType(String notificationType)
The type of notification.
-
Command
: Receive notification when the status of a command changes. -
Invocation
: For commands sent to multiple managed nodes, receive notification on a per-node basis when the status of a command changes.
- Parameters:
notificationType
- The type of notification.-
Command
: Receive notification when the status of a command changes. -
Invocation
: For commands sent to multiple managed nodes, receive notification on a per-node basis when the status of a command changes.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NotificationType
,NotificationType
-
-
notificationType
NotificationConfig.Builder notificationType(NotificationType notificationType)
The type of notification.
-
Command
: Receive notification when the status of a command changes. -
Invocation
: For commands sent to multiple managed nodes, receive notification on a per-node basis when the status of a command changes.
- Parameters:
notificationType
- The type of notification.-
Command
: Receive notification when the status of a command changes. -
Invocation
: For commands sent to multiple managed nodes, receive notification on a per-node basis when the status of a command changes.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NotificationType
,NotificationType
-
-
-