Interface EventSubscription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EventSubscription.Builder,
,EventSubscription> SdkBuilder<EventSubscription.Builder,
,EventSubscription> SdkPojo
- Enclosing class:
EventSubscription
-
Method Summary
Modifier and TypeMethodDescriptionThe type of event you would like to subscribe and get notification for.The type of event you would like to subscribe and get notification for.Unique name to identify an event subscription.snsTopicArn
(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 Details
-
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
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
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.
-