CopyableBuilder<NotificationConfig.Builder,NotificationConfig>
, SdkBuilder<NotificationConfig.Builder,NotificationConfig>
public static interface NotificationConfig.Builder extends CopyableBuilder<NotificationConfig.Builder,NotificationConfig>
Modifier and Type | Method | Description |
---|---|---|
NotificationConfig.Builder |
notificationArn(String notificationArn) |
An Amazon Resource Name (ARN) for a Simple Notification Service (SNS) topic.
|
NotificationConfig.Builder |
notificationEvents(String... notificationEvents) |
The different events for which you can receive notifications.
|
NotificationConfig.Builder |
notificationEvents(Collection<String> 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 |
notificationType(String notificationType) |
Command: Receive notification when the status of a command changes.
|
NotificationConfig.Builder |
notificationType(NotificationType notificationType) |
Command: Receive notification when the status of a command changes.
|
copy
apply, build
NotificationConfig.Builder notificationArn(String notificationArn)
An Amazon Resource Name (ARN) for a Simple Notification Service (SNS) topic. Run Command pushes notifications about command status changes to this topic.
notificationArn
- An Amazon Resource Name (ARN) for a Simple Notification Service (SNS) topic. Run Command pushes
notifications about command status changes to this topic.NotificationConfig.Builder notificationEvents(Collection<String> notificationEvents)
The different events for which you can receive notifications. These events include the following: All (events), InProgress, Success, TimedOut, Cancelled, Failed. To learn more about these events, see Setting Up Events and Notifications in the Amazon EC2 Systems Manager User Guide.
notificationEvents
- The different events for which you can receive notifications. These events include the following: All
(events), InProgress, Success, TimedOut, Cancelled, Failed. To learn more about these events, see Setting Up
Events and Notifications in the Amazon EC2 Systems Manager User Guide.NotificationEvent
NotificationConfig.Builder notificationEvents(String... notificationEvents)
The different events for which you can receive notifications. These events include the following: All (events), InProgress, Success, TimedOut, Cancelled, Failed. To learn more about these events, see Setting Up Events and Notifications in the Amazon EC2 Systems Manager User Guide.
NOTE: This method appends the values to the existing list (if any). Use
#setNotificationEvents(java.util.Collection)
or #withNotificationEvents(java.util.Collection)
if you want to override the existing values.
notificationEvents
- The different events for which you can receive notifications. These events include the following: All
(events), InProgress, Success, TimedOut, Cancelled, Failed. To learn more about these events, see Setting Up
Events and Notifications in the Amazon EC2 Systems Manager User Guide.NotificationEvent
NotificationConfig.Builder notificationEvents(NotificationEvent... notificationEvents)
The different events for which you can receive notifications. These events include the following: All (events), InProgress, Success, TimedOut, Cancelled, Failed. To learn more about these events, see Setting Up Events and Notifications in the Amazon EC2 Systems Manager User Guide.
NOTE: This method appends the values to the existing list (if any). Use
#setNotificationEvents(java.util.Collection)
or #withNotificationEvents(java.util.Collection)
if you want to override the existing values.
notificationEvents
- The different events for which you can receive notifications. These events include the following: All
(events), InProgress, Success, TimedOut, Cancelled, Failed. To learn more about these events, see Setting Up
Events and Notifications in the Amazon EC2 Systems Manager User Guide.NotificationEvent
NotificationConfig.Builder notificationType(String notificationType)
Command: Receive notification when the status of a command changes. Invocation: For commands sent to multiple instances, receive notification on a per-instance basis when the status of a command changes.
notificationType
- Command: Receive notification when the status of a command changes. Invocation: For commands sent to
multiple instances, receive notification on a per-instance basis when the status of a command changes.NotificationType
NotificationConfig.Builder notificationType(NotificationType notificationType)
Command: Receive notification when the status of a command changes. Invocation: For commands sent to multiple instances, receive notification on a per-instance basis when the status of a command changes.
notificationType
- Command: Receive notification when the status of a command changes. Invocation: For commands sent to
multiple instances, receive notification on a per-instance basis when the status of a command changes.NotificationType
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.