Interface EventSubscription.Builder

All Superinterfaces:
Buildable, CopyableBuilder<EventSubscription.Builder,EventSubscription>, SdkBuilder<EventSubscription.Builder,EventSubscription>, SdkPojo
Enclosing class:
EventSubscription

public static interface EventSubscription.Builder extends SdkPojo, CopyableBuilder<EventSubscription.Builder,EventSubscription>
  • Method Details

    • eventType

      EventSubscription.Builder eventType(String eventType)

      The type of event you would like to subscribe and get notification for. Currently, Resilience Hub supports notifications only for Drift detected (DriftDetected) and Scheduled assessment failure (ScheduledAssessmentFailure) events.

      Parameters:
      eventType - The type of event you would like to subscribe and get notification for. Currently, Resilience Hub supports notifications only for Drift detected (DriftDetected) and Scheduled assessment failure (ScheduledAssessmentFailure) events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • eventType

      EventSubscription.Builder eventType(EventType eventType)

      The type of event you would like to subscribe and get notification for. Currently, Resilience Hub supports notifications only for Drift detected (DriftDetected) and Scheduled assessment failure (ScheduledAssessmentFailure) events.

      Parameters:
      eventType - The type of event you would like to subscribe and get notification for. Currently, Resilience Hub supports notifications only for Drift detected (DriftDetected) and Scheduled assessment failure (ScheduledAssessmentFailure) events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      Unique name to identify an event subscription.

      Parameters:
      name - Unique name to identify an event subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snsTopicArn

      EventSubscription.Builder snsTopicArn(String snsTopicArn)

      Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic. The format for this ARN is: arn:partition:sns:region:account:topic-name. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

      Parameters:
      snsTopicArn - Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic. The format for this ARN is: arn:partition:sns:region:account:topic-name. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.