@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyEventSubscriptionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ModifyEventSubscriptionRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyEventSubscriptionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getEnabled()
A Boolean value; set to true to activate the subscription.
|
List<String> |
getEventCategories()
A list of event categories for a source type that you want to subscribe to.
|
String |
getSnsTopicArn()
The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification.
|
String |
getSourceType()
The type of AWS DMS resource that generates the events you want to subscribe to.
|
String |
getSubscriptionName()
The name of the AWS DMS event notification subscription to be modified.
|
int |
hashCode() |
Boolean |
isEnabled()
A Boolean value; set to true to activate the subscription.
|
void |
setEnabled(Boolean enabled)
A Boolean value; set to true to activate the subscription.
|
void |
setEventCategories(Collection<String> eventCategories)
A list of event categories for a source type that you want to subscribe to.
|
void |
setSnsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification.
|
void |
setSourceType(String sourceType)
The type of AWS DMS resource that generates the events you want to subscribe to.
|
void |
setSubscriptionName(String subscriptionName)
The name of the AWS DMS event notification subscription to be modified.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ModifyEventSubscriptionRequest |
withEnabled(Boolean enabled)
A Boolean value; set to true to activate the subscription.
|
ModifyEventSubscriptionRequest |
withEventCategories(Collection<String> eventCategories)
A list of event categories for a source type that you want to subscribe to.
|
ModifyEventSubscriptionRequest |
withEventCategories(String... eventCategories)
A list of event categories for a source type that you want to subscribe to.
|
ModifyEventSubscriptionRequest |
withSnsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification.
|
ModifyEventSubscriptionRequest |
withSourceType(String sourceType)
The type of AWS DMS resource that generates the events you want to subscribe to.
|
ModifyEventSubscriptionRequest |
withSubscriptionName(String subscriptionName)
The name of the AWS DMS event notification subscription to be modified.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setSubscriptionName(String subscriptionName)
The name of the AWS DMS event notification subscription to be modified.
subscriptionName
- The name of the AWS DMS event notification subscription to be modified.public String getSubscriptionName()
The name of the AWS DMS event notification subscription to be modified.
public ModifyEventSubscriptionRequest withSubscriptionName(String subscriptionName)
The name of the AWS DMS event notification subscription to be modified.
subscriptionName
- The name of the AWS DMS event notification subscription to be modified.public void setSnsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
snsTopicArn
- The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created
by Amazon SNS when you create a topic and subscribe to it.public String getSnsTopicArn()
The Amazon Resource Name (ARN) of the Amazon 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(String snsTopicArn)
The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
snsTopicArn
- The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created
by Amazon SNS when you create a topic and subscribe to it.public void setSourceType(String sourceType)
The type of AWS DMS resource that generates the events you want to subscribe to.
Valid values: replication-instance | migration-task
sourceType
- The type of AWS DMS resource that generates the events you want to subscribe to.
Valid values: replication-instance | migration-task
public String getSourceType()
The type of AWS DMS resource that generates the events you want to subscribe to.
Valid values: replication-instance | migration-task
Valid values: replication-instance | migration-task
public ModifyEventSubscriptionRequest withSourceType(String sourceType)
The type of AWS DMS resource that generates the events you want to subscribe to.
Valid values: replication-instance | migration-task
sourceType
- The type of AWS DMS resource that generates the events you want to subscribe to.
Valid values: replication-instance | migration-task
public List<String> getEventCategories()
A list of event categories for a source type that you want to subscribe to. Use the
DescribeEventCategories
action to see a list of event categories.
DescribeEventCategories
action to see a list of event categories.public void setEventCategories(Collection<String> eventCategories)
A list of event categories for a source type that you want to subscribe to. Use the
DescribeEventCategories
action to see a list of event categories.
eventCategories
- A list of event categories for a source type that you want to subscribe to. Use the
DescribeEventCategories
action to see a list of event categories.public ModifyEventSubscriptionRequest withEventCategories(String... eventCategories)
A list of event categories for a source type that you want to subscribe to. Use the
DescribeEventCategories
action to see a list of event categories.
NOTE: This method appends the values to the existing list (if any). Use
setEventCategories(java.util.Collection)
or withEventCategories(java.util.Collection)
if you
want to override the existing values.
eventCategories
- A list of event categories for a source type that you want to subscribe to. Use the
DescribeEventCategories
action to see a list of event categories.public ModifyEventSubscriptionRequest withEventCategories(Collection<String> eventCategories)
A list of event categories for a source type that you want to subscribe to. Use the
DescribeEventCategories
action to see a list of event categories.
eventCategories
- A list of event categories for a source type that you want to subscribe to. Use the
DescribeEventCategories
action to see a list of event categories.public void setEnabled(Boolean enabled)
A Boolean value; set to true to activate the subscription.
enabled
- A Boolean value; set to true to activate the subscription.public Boolean getEnabled()
A Boolean value; set to true to activate the subscription.
public ModifyEventSubscriptionRequest withEnabled(Boolean enabled)
A Boolean value; set to true to activate the subscription.
enabled
- A Boolean value; set to true to activate the subscription.public Boolean isEnabled()
A Boolean value; set to true to activate the subscription.
public String toString()
toString
in class Object
Object.toString()
public ModifyEventSubscriptionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.