|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.rds.model.EventSubscription
public class EventSubscription
Contains the results of a successful invocation of the DescribeEventSubscriptions action.
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 |
---|
public EventSubscription()
Method Detail |
---|
public String getCustomerAwsId()
public void setCustomerAwsId(String customerAwsId)
customerAwsId
- The AWS customer account associated with the RDS event notification
subscription.public EventSubscription withCustomerAwsId(String customerAwsId)
Returns a reference to this object so that method calls can be chained together.
customerAwsId
- The AWS customer account associated with the RDS event notification
subscription.
public String getCustSubscriptionId()
public void setCustSubscriptionId(String custSubscriptionId)
custSubscriptionId
- The RDS event notification subscription Id.public EventSubscription withCustSubscriptionId(String custSubscriptionId)
Returns a reference to this object so that method calls can be chained together.
custSubscriptionId
- The RDS event notification subscription Id.
public String getSnsTopicArn()
public void setSnsTopicArn(String snsTopicArn)
snsTopicArn
- The topic ARN of the RDS event notification subscription.public EventSubscription withSnsTopicArn(String snsTopicArn)
Returns a reference to this object so that method calls can be chained together.
snsTopicArn
- The topic ARN of the RDS event notification subscription.
public String getStatus()
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.
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.
public void setStatus(String status)
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.
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.
public EventSubscription withStatus(String status)
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.
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.
public String getSubscriptionCreationTime()
public void setSubscriptionCreationTime(String subscriptionCreationTime)
subscriptionCreationTime
- The time the RDS event notification subscription was created.public EventSubscription withSubscriptionCreationTime(String subscriptionCreationTime)
Returns a reference to this object so that method calls can be chained together.
subscriptionCreationTime
- The time the RDS event notification subscription was created.
public String getSourceType()
public void setSourceType(String sourceType)
sourceType
- The source type for the RDS event notification subscription.public EventSubscription withSourceType(String sourceType)
Returns a reference to this object so that method calls can be chained together.
sourceType
- The source type for the RDS event notification subscription.
public List<String> getSourceIdsList()
public void setSourceIdsList(Collection<String> sourceIdsList)
sourceIdsList
- A list of source Ids for the RDS event notification subscription.public EventSubscription withSourceIdsList(String... sourceIdsList)
Returns a reference to this object so that method calls can be chained together.
sourceIdsList
- A list of source Ids for the RDS event notification subscription.
public EventSubscription withSourceIdsList(Collection<String> sourceIdsList)
Returns a reference to this object so that method calls can be chained together.
sourceIdsList
- A list of source Ids for the RDS event notification subscription.
public List<String> getEventCategoriesList()
public void setEventCategoriesList(Collection<String> eventCategoriesList)
eventCategoriesList
- A list of event categories for the RDS event notification
subscription.public EventSubscription withEventCategoriesList(String... eventCategoriesList)
Returns a reference to this object so that method calls can be chained together.
eventCategoriesList
- A list of event categories for the RDS event notification
subscription.
public EventSubscription withEventCategoriesList(Collection<String> eventCategoriesList)
Returns a reference to this object so that method calls can be chained together.
eventCategoriesList
- A list of event categories for the RDS event notification
subscription.
public Boolean isEnabled()
public void setEnabled(Boolean enabled)
enabled
- A Boolean value indicating if the subscription is enabled. True
indicates the subscription is enabled.public EventSubscription withEnabled(Boolean enabled)
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.
public Boolean getEnabled()
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |