@Generated(value="software.amazon.awssdk:codegen") public class EventSubscription extends Object implements StructuredPojo, ToCopyableBuilder<EventSubscription.Builder,EventSubscription>
Modifier and Type | Class and Description |
---|---|
static interface |
EventSubscription.Builder |
Modifier and Type | Method and Description |
---|---|
static EventSubscription.Builder |
builder() |
String |
customerAwsId()
The AWS customer account associated with the AWS DMS event notification subscription.
|
String |
custSubscriptionId()
The AWS DMS event notification subscription Id.
|
Boolean |
enabled()
Boolean value that indicates if the event subscription is enabled.
|
boolean |
equals(Object obj) |
List<String> |
eventCategoriesList()
A lists of event categories.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends EventSubscription.Builder> |
serializableBuilderClass() |
String |
snsTopicArn()
The topic ARN of the AWS DMS event notification subscription.
|
List<String> |
sourceIdsList()
A list of source Ids for the event subscription.
|
String |
sourceType()
The type of AWS DMS resource that generates events.
|
String |
status()
The status of the AWS DMS event notification subscription.
|
String |
subscriptionCreationTime()
The time the RDS event notification subscription was created.
|
EventSubscription.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String customerAwsId()
The AWS customer account associated with the AWS DMS event notification subscription.
public String custSubscriptionId()
The AWS DMS event notification subscription Id.
public String snsTopicArn()
The topic ARN of the AWS DMS event notification subscription.
public String status()
The status of the AWS DMS 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 AWS DMS 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 AWS DMS 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 subscriptionCreationTime()
The time the RDS event notification subscription was created.
public String sourceType()
The type of AWS DMS resource that generates events.
Valid values: replication-instance | replication-server | security-group | migration-task
Valid values: replication-instance | replication-server | security-group | migration-task
public List<String> sourceIdsList()
A list of source Ids for the event subscription.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> eventCategoriesList()
A lists of event categories.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Boolean enabled()
Boolean value that indicates if the event subscription is enabled.
public EventSubscription.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EventSubscription.Builder,EventSubscription>
public static EventSubscription.Builder builder()
public static Class<? extends EventSubscription.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.