Interface EventSubscription.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<EventSubscription.Builder,,- EventSubscription> - SdkBuilder<EventSubscription.Builder,,- EventSubscription> - SdkPojo
- Enclosing class:
- EventSubscription
- 
Method SummaryModifier and TypeMethodDescriptioncustomerAwsId(String customerAwsId) The Amazon Web Services customer account that is associated with the Amazon DocumentDB event notification subscription.custSubscriptionId(String custSubscriptionId) The Amazon DocumentDB event notification subscription ID.A Boolean value indicating whether the subscription is enabled.eventCategoriesList(String... eventCategoriesList) A list of event categories for the Amazon DocumentDB event notification subscription.eventCategoriesList(Collection<String> eventCategoriesList) A list of event categories for the Amazon DocumentDB event notification subscription.eventSubscriptionArn(String eventSubscriptionArn) The Amazon Resource Name (ARN) for the event subscription.snsTopicArn(String snsTopicArn) The topic ARN of the Amazon DocumentDB event notification subscription.sourceIdsList(String... sourceIdsList) A list of source IDs for the Amazon DocumentDB event notification subscription.sourceIdsList(Collection<String> sourceIdsList) A list of source IDs for the Amazon DocumentDB event notification subscription.sourceType(String sourceType) The source type for the Amazon DocumentDB event notification subscription.The status of the Amazon DocumentDB event notification subscription.subscriptionCreationTime(String subscriptionCreationTime) The time at which the Amazon DocumentDB event notification subscription was created.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
customerAwsIdThe Amazon Web Services customer account that is associated with the Amazon DocumentDB event notification subscription. - Parameters:
- customerAwsId- The Amazon Web Services customer account that is associated with the Amazon DocumentDB event notification subscription.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
custSubscriptionIdThe Amazon DocumentDB event notification subscription ID. - Parameters:
- custSubscriptionId- The Amazon DocumentDB event notification subscription ID.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
snsTopicArnThe topic ARN of the Amazon DocumentDB event notification subscription. - Parameters:
- snsTopicArn- The topic ARN of the Amazon DocumentDB event notification subscription.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
statusThe status of the Amazon DocumentDB event notification subscription. Constraints: Can be one of the following: creating,modifying,deleting,active,no-permission,topic-not-existThe no-permissionstatus indicates that Amazon DocumentDB no longer has permission to post to the SNS topic. Thetopic-not-existstatus indicates that the topic was deleted after the subscription was created.- Parameters:
- status- The status of the Amazon DocumentDB event notification subscription.- Constraints: - Can be one of the following: - creating,- modifying,- deleting,- active,- no-permission,- topic-not-exist- The - no-permissionstatus indicates that Amazon DocumentDB no longer has permission to post to the SNS topic. The- topic-not-existstatus 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.
 
- 
subscriptionCreationTimeThe time at which the Amazon DocumentDB event notification subscription was created. - Parameters:
- subscriptionCreationTime- The time at which the Amazon DocumentDB event notification subscription was created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sourceTypeThe source type for the Amazon DocumentDB event notification subscription. - Parameters:
- sourceType- The source type for the Amazon DocumentDB event notification subscription.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sourceIdsListA list of source IDs for the Amazon DocumentDB event notification subscription. - Parameters:
- sourceIdsList- A list of source IDs for the Amazon DocumentDB event notification subscription.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sourceIdsListA list of source IDs for the Amazon DocumentDB event notification subscription. - Parameters:
- sourceIdsList- A list of source IDs for the Amazon DocumentDB event notification subscription.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
eventCategoriesListA list of event categories for the Amazon DocumentDB event notification subscription. - Parameters:
- eventCategoriesList- A list of event categories for the Amazon DocumentDB event notification subscription.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
eventCategoriesListA list of event categories for the Amazon DocumentDB event notification subscription. - Parameters:
- eventCategoriesList- A list of event categories for the Amazon DocumentDB event notification subscription.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
enabledA Boolean value indicating whether the subscription is enabled. A value of trueindicates that the subscription is enabled.- Parameters:
- enabled- A Boolean value indicating whether the subscription is enabled. A value of- trueindicates that the subscription is enabled.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
eventSubscriptionArnThe 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.
 
 
-