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.BuildercustomerAwsId(String customerAwsId)The Amazon Web Services customer account associated with the RDS event notification subscription.EventSubscription.BuildercustSubscriptionId(String custSubscriptionId)The RDS event notification subscription Id.EventSubscription.Builderenabled(Boolean enabled)Specifies whether the subscription is enabled.EventSubscription.BuildereventCategoriesList(String... eventCategoriesList)A list of event categories for the RDS event notification subscription.EventSubscription.BuildereventCategoriesList(Collection<String> eventCategoriesList)A list of event categories for the RDS event notification subscription.EventSubscription.BuildereventSubscriptionArn(String eventSubscriptionArn)The Amazon Resource Name (ARN) for the event subscription.EventSubscription.BuildersnsTopicArn(String snsTopicArn)The topic ARN of the RDS event notification subscription.EventSubscription.BuildersourceIdsList(String... sourceIdsList)A list of source IDs for the RDS event notification subscription.EventSubscription.BuildersourceIdsList(Collection<String> sourceIdsList)A list of source IDs for the RDS event notification subscription.EventSubscription.BuildersourceType(String sourceType)The source type for the RDS event notification subscription.EventSubscription.Builderstatus(String status)The status of the RDS event notification subscription.EventSubscription.BuildersubscriptionCreationTime(String subscriptionCreationTime)The time the RDS 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
customerAwsId
EventSubscription.Builder customerAwsId(String customerAwsId)
The Amazon Web Services customer account associated with the RDS event notification subscription.
- Parameters:
customerAwsId- The Amazon Web Services customer account associated with the RDS event notification subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
custSubscriptionId
EventSubscription.Builder custSubscriptionId(String custSubscriptionId)
The RDS event notification subscription Id.
- Parameters:
custSubscriptionId- The RDS event notification subscription Id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snsTopicArn
EventSubscription.Builder snsTopicArn(String snsTopicArn)
The topic ARN of the RDS event notification subscription.
- Parameters:
snsTopicArn- The topic ARN of the RDS event notification subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
EventSubscription.Builder status(String status)
The status of the RDS 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 RDS 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 RDS 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 RDS 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
EventSubscription.Builder subscriptionCreationTime(String subscriptionCreationTime)
The time the RDS event notification subscription was created.
- Parameters:
subscriptionCreationTime- The time the RDS event notification subscription was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceType
EventSubscription.Builder sourceType(String sourceType)
The source type for the RDS event notification subscription.
- Parameters:
sourceType- The source type for the RDS event notification subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceIdsList
EventSubscription.Builder sourceIdsList(Collection<String> sourceIdsList)
A list of source IDs for the RDS event notification subscription.
- Parameters:
sourceIdsList- A list of source IDs for the RDS event notification subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceIdsList
EventSubscription.Builder sourceIdsList(String... sourceIdsList)
A list of source IDs for the RDS event notification subscription.
- Parameters:
sourceIdsList- A list of source IDs for the RDS event notification subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventCategoriesList
EventSubscription.Builder eventCategoriesList(Collection<String> eventCategoriesList)
A list of event categories for the RDS event notification subscription.
- Parameters:
eventCategoriesList- A list of event categories for the RDS event notification subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventCategoriesList
EventSubscription.Builder eventCategoriesList(String... eventCategoriesList)
A list of event categories for the RDS event notification subscription.
- Parameters:
eventCategoriesList- A list of event categories for the RDS event notification subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
EventSubscription.Builder enabled(Boolean enabled)
Specifies whether the subscription is enabled. True indicates the subscription is enabled.
- Parameters:
enabled- Specifies whether 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
EventSubscription.Builder eventSubscriptionArn(String 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.
-
-