Class EventSubscription
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the results of a successful invocation of the DescribeEventSubscriptions action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The AWS customer account associated with the RDS event notification subscription.The RDS event notification subscription Id.A Boolean value indicating if the subscription is enabled.A list of event categories for the RDS event notification subscription.The topic ARN of the RDS event notification subscription.A list of source IDs for the RDS event notification subscription.The source type for the RDS event notification subscription.The status of the RDS event notification subscription.The time the RDS event notification subscription was created.int
hashCode()
A Boolean value indicating if the subscription is enabled.void
setCustomerAwsId
(String customerAwsId) The AWS customer account associated with the RDS event notification subscription.void
setCustSubscriptionId
(String custSubscriptionId) The RDS event notification subscription Id.void
setEnabled
(Boolean enabled) A Boolean value indicating if the subscription is enabled.void
setEventCategoriesList
(Collection<String> eventCategoriesList) A list of event categories for the RDS event notification subscription.void
setSnsTopicArn
(String snsTopicArn) The topic ARN of the RDS event notification subscription.void
setSourceIdsList
(Collection<String> sourceIdsList) A list of source IDs for the RDS event notification subscription.void
setSourceType
(String sourceType) The source type for the RDS event notification subscription.void
The status of the RDS event notification subscription.void
setSubscriptionCreationTime
(String subscriptionCreationTime) The time the RDS event notification subscription was created.toString()
Returns a string representation of this object; useful for testing and debugging.withCustomerAwsId
(String customerAwsId) The AWS customer account associated with the RDS event notification subscription.withCustSubscriptionId
(String custSubscriptionId) The RDS event notification subscription Id.withEnabled
(Boolean enabled) A Boolean value indicating if the subscription is enabled.withEventCategoriesList
(String... eventCategoriesList) A list of event categories for the RDS event notification subscription.withEventCategoriesList
(Collection<String> eventCategoriesList) A list of event categories for the RDS event notification subscription.withSnsTopicArn
(String snsTopicArn) The topic ARN of the RDS event notification subscription.withSourceIdsList
(String... sourceIdsList) A list of source IDs for the RDS event notification subscription.withSourceIdsList
(Collection<String> sourceIdsList) A list of source IDs for the RDS event notification subscription.withSourceType
(String sourceType) The source type for the RDS event notification subscription.withStatus
(String status) The status of the RDS event notification subscription.withSubscriptionCreationTime
(String subscriptionCreationTime) The time the RDS event notification subscription was created.
-
Constructor Details
-
EventSubscription
public EventSubscription()
-
-
Method Details
-
setCustomerAwsId
The AWS customer account associated with the RDS event notification subscription.
- Parameters:
customerAwsId
- The AWS customer account associated with the RDS event notification subscription.
-
getCustomerAwsId
The AWS customer account associated with the RDS event notification subscription.
- Returns:
- The AWS customer account associated with the RDS event notification subscription.
-
withCustomerAwsId
The AWS customer account associated with the RDS event notification subscription.
- Parameters:
customerAwsId
- The AWS customer account associated with the RDS event notification subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCustSubscriptionId
The RDS event notification subscription Id.
- Parameters:
custSubscriptionId
- The RDS event notification subscription Id.
-
getCustSubscriptionId
The RDS event notification subscription Id.
- Returns:
- The RDS event notification subscription Id.
-
withCustSubscriptionId
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.
-
setSnsTopicArn
The topic ARN of the RDS event notification subscription.
- Parameters:
snsTopicArn
- The topic ARN of the RDS event notification subscription.
-
getSnsTopicArn
The topic ARN of the RDS event notification subscription.
- Returns:
- The topic ARN of the RDS event notification subscription.
-
withSnsTopicArn
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.
-
setStatus
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.
-
getStatus
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:
- 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.
-
withStatus
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.
-
setSubscriptionCreationTime
The time the RDS event notification subscription was created.
- Parameters:
subscriptionCreationTime
- The time the RDS event notification subscription was created.
-
getSubscriptionCreationTime
The time the RDS event notification subscription was created.
- Returns:
- The time the RDS event notification subscription was created.
-
withSubscriptionCreationTime
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.
-
setSourceType
The source type for the RDS event notification subscription.
- Parameters:
sourceType
- The source type for the RDS event notification subscription.
-
getSourceType
The source type for the RDS event notification subscription.
- Returns:
- The source type for the RDS event notification subscription.
-
withSourceType
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.
-
getSourceIdsList
A list of source IDs for the RDS event notification subscription.
- Returns:
- A list of source IDs for the RDS event notification subscription.
-
setSourceIdsList
A list of source IDs for the RDS event notification subscription.
- Parameters:
sourceIdsList
- A list of source IDs for the RDS event notification subscription.
-
withSourceIdsList
A list of source IDs for the RDS event notification subscription.
NOTE: This method appends the values to the existing list (if any). Use
setSourceIdsList(java.util.Collection)
orwithSourceIdsList(java.util.Collection)
if you want to override the existing values.- 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.
-
withSourceIdsList
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.
-
getEventCategoriesList
A list of event categories for the RDS event notification subscription.
- Returns:
- A list of event categories for the RDS event notification subscription.
-
setEventCategoriesList
A list of event categories for the RDS event notification subscription.
- Parameters:
eventCategoriesList
- A list of event categories for the RDS event notification subscription.
-
withEventCategoriesList
A list of event categories for the RDS event notification subscription.
NOTE: This method appends the values to the existing list (if any). Use
setEventCategoriesList(java.util.Collection)
orwithEventCategoriesList(java.util.Collection)
if you want to override the existing values.- 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.
-
withEventCategoriesList
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.
-
setEnabled
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.
-
getEnabled
A Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled.
- Returns:
- A Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled.
-
withEnabled
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.
-
isEnabled
A Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled.
- Returns:
- A Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-