|
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.AmazonWebServiceRequest
com.amazonaws.services.rds.model.ModifyEventSubscriptionRequest
public class ModifyEventSubscriptionRequest
Container for the parameters to the ModifyEventSubscription operation.
Modifies an existing RDS event notification subscription. Note that you cannot modify the source identifiers using this call; to change source identifiers for a subscription, use the AddSourceIdentifierToSubscription and RemoveSourceIdentifierFromSubscription calls.
You can see a list of the event categories for a given SourceType in the Events topic in the Amazon RDS User Guide or by using the DescribeEventCategories action.
AmazonRDS.modifyEventSubscription(ModifyEventSubscriptionRequest),
Serialized Form| Constructor Summary | |
|---|---|
ModifyEventSubscriptionRequest()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Boolean |
getEnabled()
A Boolean value; set to true to activate the subscription. |
java.util.List<java.lang.String> |
getEventCategories()
A list of event categories for a SourceType that you want to subscribe to. |
java.lang.String |
getSnsTopicArn()
The Amazon Resource Name (ARN) of the SNS topic created for event notification. |
java.lang.String |
getSourceType()
The type of source that will be generating the events. |
java.lang.String |
getSubscriptionName()
The name of the RDS event notification subscription. |
int |
hashCode()
|
java.lang.Boolean |
isEnabled()
A Boolean value; set to true to activate the subscription. |
void |
setEnabled(java.lang.Boolean enabled)
A Boolean value; set to true to activate the subscription. |
void |
setEventCategories(java.util.Collection<java.lang.String> eventCategories)
A list of event categories for a SourceType that you want to subscribe to. |
void |
setSnsTopicArn(java.lang.String snsTopicArn)
The Amazon Resource Name (ARN) of the SNS topic created for event notification. |
void |
setSourceType(java.lang.String sourceType)
The type of source that will be generating the events. |
void |
setSubscriptionName(java.lang.String subscriptionName)
The name of the RDS event notification subscription. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ModifyEventSubscriptionRequest |
withEnabled(java.lang.Boolean enabled)
A Boolean value; set to true to activate the subscription. |
ModifyEventSubscriptionRequest |
withEventCategories(java.util.Collection<java.lang.String> eventCategories)
A list of event categories for a SourceType that you want to subscribe to. |
ModifyEventSubscriptionRequest |
withEventCategories(java.lang.String... eventCategories)
A list of event categories for a SourceType that you want to subscribe to. |
ModifyEventSubscriptionRequest |
withSnsTopicArn(java.lang.String snsTopicArn)
The Amazon Resource Name (ARN) of the SNS topic created for event notification. |
ModifyEventSubscriptionRequest |
withSourceType(java.lang.String sourceType)
The type of source that will be generating the events. |
ModifyEventSubscriptionRequest |
withSubscriptionName(java.lang.String subscriptionName)
The name of the RDS event notification subscription. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ModifyEventSubscriptionRequest()
| Method Detail |
|---|
public java.lang.String getSubscriptionName()
public void setSubscriptionName(java.lang.String subscriptionName)
subscriptionName - The name of the RDS event notification subscription.public ModifyEventSubscriptionRequest withSubscriptionName(java.lang.String subscriptionName)
Returns a reference to this object so that method calls can be chained together.
subscriptionName - The name of the RDS event notification subscription.
public java.lang.String getSnsTopicArn()
public void setSnsTopicArn(java.lang.String snsTopicArn)
snsTopicArn - The Amazon Resource Name (ARN) of the SNS topic created for event
notification. The ARN is created by Amazon SNS when you create a topic
and subscribe to it.public ModifyEventSubscriptionRequest withSnsTopicArn(java.lang.String snsTopicArn)
Returns a reference to this object so that method calls can be chained together.
snsTopicArn - The Amazon Resource Name (ARN) of the SNS topic created for event
notification. The ARN is created by Amazon SNS when you create a topic
and subscribe to it.
public java.lang.String getSourceType()
Valid values: db-instance | db-parameter-group | db-security-group | db-snapshot
Valid values: db-instance | db-parameter-group | db-security-group | db-snapshot
public void setSourceType(java.lang.String sourceType)
Valid values: db-instance | db-parameter-group | db-security-group | db-snapshot
sourceType - The type of source that will be generating the events. For example, if
you want to be notified of events generated by a DB instance, you
would set this parameter to db-instance. if this value is not
specified, all events are returned. Valid values: db-instance | db-parameter-group | db-security-group | db-snapshot
public ModifyEventSubscriptionRequest withSourceType(java.lang.String sourceType)
Valid values: db-instance | db-parameter-group | db-security-group | db-snapshot
Returns a reference to this object so that method calls can be chained together.
sourceType - The type of source that will be generating the events. For example, if
you want to be notified of events generated by a DB instance, you
would set this parameter to db-instance. if this value is not
specified, all events are returned. Valid values: db-instance | db-parameter-group | db-security-group | db-snapshot
public java.util.List<java.lang.String> getEventCategories()
public void setEventCategories(java.util.Collection<java.lang.String> eventCategories)
eventCategories - A list of event categories for a SourceType that you want to subscribe
to. You can see a list of the categories for a given SourceType in the
Events
topic in the Amazon RDS User Guide or by using the
DescribeEventCategories action.public ModifyEventSubscriptionRequest withEventCategories(java.lang.String... eventCategories)
Returns a reference to this object so that method calls can be chained together.
eventCategories - A list of event categories for a SourceType that you want to subscribe
to. You can see a list of the categories for a given SourceType in the
Events
topic in the Amazon RDS User Guide or by using the
DescribeEventCategories action.
public ModifyEventSubscriptionRequest withEventCategories(java.util.Collection<java.lang.String> eventCategories)
Returns a reference to this object so that method calls can be chained together.
eventCategories - A list of event categories for a SourceType that you want to subscribe
to. You can see a list of the categories for a given SourceType in the
Events
topic in the Amazon RDS User Guide or by using the
DescribeEventCategories action.
public java.lang.Boolean isEnabled()
public void setEnabled(java.lang.Boolean enabled)
enabled - A Boolean value; set to true to activate the subscription.public ModifyEventSubscriptionRequest withEnabled(java.lang.Boolean enabled)
Returns a reference to this object so that method calls can be chained together.
enabled - A Boolean value; set to true to activate the subscription.
public java.lang.Boolean getEnabled()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||