Interface EventSubscription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EventSubscription.Builder,
,EventSubscription> SdkBuilder<EventSubscription.Builder,
,EventSubscription> SdkPojo
- Enclosing class:
EventSubscription
-
Method Summary
Modifier and TypeMethodDescriptioncustomerAwsId
(String customerAwsId) The Amazon customer account associated with the event notification subscription.custSubscriptionId
(String custSubscriptionId) The event notification subscription Id.A Boolean value indicating if the subscription is enabled.eventCategoriesList
(String... eventCategoriesList) A list of event categories for the event notification subscription.eventCategoriesList
(Collection<String> eventCategoriesList) A list of event categories for the event notification subscription.eventSubscriptionArn
(String eventSubscriptionArn) The Amazon Resource Name (ARN) for the event subscription.snsTopicArn
(String snsTopicArn) The topic ARN of the event notification subscription.sourceIdsList
(String... sourceIdsList) A list of source IDs for the event notification subscription.sourceIdsList
(Collection<String> sourceIdsList) A list of source IDs for the event notification subscription.sourceType
(String sourceType) The source type for the event notification subscription.The status of the event notification subscription.subscriptionCreationTime
(String subscriptionCreationTime) The time the event notification subscription was created.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
-
customerAwsId
The Amazon customer account associated with the event notification subscription.
- Parameters:
customerAwsId
- The Amazon customer account associated with the event notification subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
custSubscriptionId
The event notification subscription Id.
- Parameters:
custSubscriptionId
- The event notification subscription Id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snsTopicArn
The topic ARN of the event notification subscription.
- Parameters:
snsTopicArn
- The topic ARN of the event notification subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the event notification subscription.
Constraints:
Can be one of the following: creating | modifying | deleting | active | no-permission | topic-not-exist
The status "no-permission" indicates that Neptune no longer has permission to post to the SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.
- Parameters:
status
- The status of the event notification subscription.Constraints:
Can be one of the following: creating | modifying | deleting | active | no-permission | topic-not-exist
The status "no-permission" indicates that Neptune no longer has permission to post to the SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptionCreationTime
The time the event notification subscription was created.
- Parameters:
subscriptionCreationTime
- The time the event notification subscription was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceType
The source type for the event notification subscription.
- Parameters:
sourceType
- The source type for the event notification subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceIdsList
A list of source IDs for the event notification subscription.
- Parameters:
sourceIdsList
- A list of source IDs for the event notification subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceIdsList
A list of source IDs for the event notification subscription.
- Parameters:
sourceIdsList
- A list of source IDs for the event notification subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventCategoriesList
A list of event categories for the event notification subscription.
- Parameters:
eventCategoriesList
- A list of event categories for the event notification subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventCategoriesList
A list of event categories for the event notification subscription.
- Parameters:
eventCategoriesList
- A list of event categories for the event notification subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
A Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled.
- Parameters:
enabled
- A Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSubscriptionArn
The Amazon Resource Name (ARN) for the event subscription.
- Parameters:
eventSubscriptionArn
- The Amazon Resource Name (ARN) for the event subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-