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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventSubscription.BuildereventType(String eventType)The type of event you would like to subscribe and get notification for.EventSubscription.BuildereventType(EventType eventType)The type of event you would like to subscribe and get notification for.EventSubscription.Buildername(String name)Unique name to identify an event subscription.EventSubscription.BuildersnsTopicArn(String snsTopicArn)Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic.-
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
-
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,EventType
-
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:
EventType,EventType
-
name
EventSubscription.Builder name(String 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.
-
-