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 Details

    • 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

      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: