StructuredPojo
, ToCopyableBuilder<NotificationConfig.Builder,NotificationConfig>
@Generated("software.amazon.awssdk:codegen") public class NotificationConfig extends Object implements StructuredPojo, ToCopyableBuilder<NotificationConfig.Builder,NotificationConfig>
Configurations for sending notifications.
Modifier and Type | Class | Description |
---|---|---|
static interface |
NotificationConfig.Builder |
Modifier and Type | Method | Description |
---|---|---|
static NotificationConfig.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
notificationArn() |
An Amazon Resource Name (ARN) for a Simple Notification Service (SNS) topic.
|
List<String> |
notificationEvents() |
The different events for which you can receive notifications.
|
String |
notificationType() |
Command: Receive notification when the status of a command changes.
|
static Class<? extends NotificationConfig.Builder> |
serializableBuilderClass() |
|
NotificationConfig.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public 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.
public List<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.
NotificationEvent
public 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
public NotificationConfig.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<NotificationConfig.Builder,NotificationConfig>
public static NotificationConfig.Builder builder()
public static Class<? extends NotificationConfig.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.