Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.rds.model
Class EventSubscription

java.lang.Object
  extended by com.amazonaws.services.rds.model.EventSubscription
All Implemented Interfaces:
Serializable

public class EventSubscription
extends Object
implements Serializable

Contains the results of a successful invocation of the DescribeEventSubscriptions action.

See Also:
Serialized Form

Constructor Summary
EventSubscription()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCustomerAwsId()
          The AWS customer account associated with the RDS event notification subscription.
 String getCustSubscriptionId()
          The RDS event notification subscription Id.
 Boolean getEnabled()
          A Boolean value indicating if the subscription is enabled.
 List<String> getEventCategoriesList()
          A list of event categories for the RDS event notification subscription.
 String getSnsTopicArn()
          The topic ARN of the RDS event notification subscription.
 List<String> getSourceIdsList()
          A list of source Ids for the RDS event notification subscription.
 String getSourceType()
          The source type for the RDS event notification subscription.
 String getStatus()
          The status of the RDS event notification subscription.
 String getSubscriptionCreationTime()
          The time the RDS event notification subscription was created.
 int hashCode()
           
 Boolean isEnabled()
          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 setStatus(String status)
          The status of the RDS event notification subscription.
 void setSubscriptionCreationTime(String subscriptionCreationTime)
          The time the RDS event notification subscription was created.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 EventSubscription withCustomerAwsId(String customerAwsId)
          The AWS customer account associated with the RDS event notification subscription.
 EventSubscription withCustSubscriptionId(String custSubscriptionId)
          The RDS event notification subscription Id.
 EventSubscription withEnabled(Boolean enabled)
          A Boolean value indicating if the subscription is enabled.
 EventSubscription withEventCategoriesList(Collection<String> eventCategoriesList)
          A list of event categories for the RDS event notification subscription.
 EventSubscription withEventCategoriesList(String... eventCategoriesList)
          A list of event categories for the RDS event notification subscription.
 EventSubscription withSnsTopicArn(String snsTopicArn)
          The topic ARN of the RDS event notification subscription.
 EventSubscription withSourceIdsList(Collection<String> sourceIdsList)
          A list of source Ids for the RDS event notification subscription.
 EventSubscription withSourceIdsList(String... sourceIdsList)
          A list of source Ids for the RDS event notification subscription.
 EventSubscription withSourceType(String sourceType)
          The source type for the RDS event notification subscription.
 EventSubscription withStatus(String status)
          The status of the RDS event notification subscription.
 EventSubscription withSubscriptionCreationTime(String subscriptionCreationTime)
          The time the RDS event notification subscription was created.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EventSubscription

public EventSubscription()
Method Detail

getCustomerAwsId

public String getCustomerAwsId()
The AWS customer account associated with the RDS event notification subscription.

Returns:
The AWS customer account associated with the RDS event notification subscription.

setCustomerAwsId

public void setCustomerAwsId(String customerAwsId)
The AWS customer account associated with the RDS event notification subscription.

Parameters:
customerAwsId - The AWS customer account associated with the RDS event notification subscription.

withCustomerAwsId

public EventSubscription withCustomerAwsId(String customerAwsId)
The AWS customer account associated with the RDS event notification subscription.

Returns a reference to this object so that method calls can be chained together.

Parameters:
customerAwsId - The AWS customer account associated with the RDS event notification subscription.
Returns:
A reference to this updated object so that method calls can be chained together.

getCustSubscriptionId

public String getCustSubscriptionId()
The RDS event notification subscription Id.

Returns:
The RDS event notification subscription Id.

setCustSubscriptionId

public void setCustSubscriptionId(String custSubscriptionId)
The RDS event notification subscription Id.

Parameters:
custSubscriptionId - The RDS event notification subscription Id.

withCustSubscriptionId

public EventSubscription withCustSubscriptionId(String custSubscriptionId)
The RDS event notification subscription Id.

Returns a reference to this object so that method calls can be chained together.

Parameters:
custSubscriptionId - The RDS event notification subscription Id.
Returns:
A reference to this updated object so that method calls can be chained together.

getSnsTopicArn

public String getSnsTopicArn()
The topic ARN of the RDS event notification subscription.

Returns:
The topic ARN of the RDS event notification subscription.

setSnsTopicArn

public void setSnsTopicArn(String snsTopicArn)
The topic ARN of the RDS event notification subscription.

Parameters:
snsTopicArn - The topic ARN of the RDS event notification subscription.

withSnsTopicArn

public EventSubscription withSnsTopicArn(String snsTopicArn)
The topic ARN of the RDS event notification subscription.

Returns a reference to this object so that method calls can be chained together.

Parameters:
snsTopicArn - The topic ARN of the RDS event notification subscription.
Returns:
A reference to this updated object so that method calls can be chained together.

getStatus

public String 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.


setStatus

public void setStatus(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.


withStatus

public EventSubscription withStatus(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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

getSubscriptionCreationTime

public String getSubscriptionCreationTime()
The time the RDS event notification subscription was created.

Returns:
The time the RDS event notification subscription was created.

setSubscriptionCreationTime

public void setSubscriptionCreationTime(String subscriptionCreationTime)
The time the RDS event notification subscription was created.

Parameters:
subscriptionCreationTime - The time the RDS event notification subscription was created.

withSubscriptionCreationTime

public EventSubscription withSubscriptionCreationTime(String subscriptionCreationTime)
The time the RDS event notification subscription was created.

Returns a reference to this object so that method calls can be chained together.

Parameters:
subscriptionCreationTime - The time the RDS event notification subscription was created.
Returns:
A reference to this updated object so that method calls can be chained together.

getSourceType

public String getSourceType()
The source type for the RDS event notification subscription.

Returns:
The source type for the RDS event notification subscription.

setSourceType

public void setSourceType(String sourceType)
The source type for the RDS event notification subscription.

Parameters:
sourceType - The source type for the RDS event notification subscription.

withSourceType

public EventSubscription withSourceType(String sourceType)
The source type for the RDS event notification subscription.

Returns a reference to this object so that method calls can be chained together.

Parameters:
sourceType - The source type for the RDS event notification subscription.
Returns:
A reference to this updated object so that method calls can be chained together.

getSourceIdsList

public List<String> 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

public void setSourceIdsList(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.

withSourceIdsList

public EventSubscription withSourceIdsList(String... sourceIdsList)
A list of source Ids for the RDS event notification subscription.

Returns a reference to this object so that method calls can be chained together.

Parameters:
sourceIdsList - A list of source Ids for the RDS event notification subscription.
Returns:
A reference to this updated object so that method calls can be chained together.

withSourceIdsList

public EventSubscription withSourceIdsList(Collection<String> sourceIdsList)
A list of source Ids for the RDS event notification subscription.

Returns a reference to this object so that method calls can be chained together.

Parameters:
sourceIdsList - A list of source Ids for the RDS event notification subscription.
Returns:
A reference to this updated object so that method calls can be chained together.

getEventCategoriesList

public List<String> 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

public void setEventCategoriesList(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.

withEventCategoriesList

public EventSubscription withEventCategoriesList(String... eventCategoriesList)
A list of event categories for the RDS event notification subscription.

Returns a reference to this object so that method calls can be chained together.

Parameters:
eventCategoriesList - A list of event categories for the RDS event notification subscription.
Returns:
A reference to this updated object so that method calls can be chained together.

withEventCategoriesList

public EventSubscription withEventCategoriesList(Collection<String> eventCategoriesList)
A list of event categories for the RDS event notification subscription.

Returns a reference to this object so that method calls can be chained together.

Parameters:
eventCategoriesList - A list of event categories for the RDS event notification subscription.
Returns:
A reference to this updated object so that method calls can be chained together.

isEnabled

public Boolean 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.

setEnabled

public void setEnabled(Boolean 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.

withEnabled

public EventSubscription withEnabled(Boolean enabled)
A Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled.

Returns a reference to this object so that method calls can be chained together.

Parameters:
enabled - A Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled.
Returns:
A reference to this updated object so that method calls can be chained together.

getEnabled

public Boolean 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.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.