@Generated(value="software.amazon.awssdk:codegen") public final class EventSubscription extends Object implements ToCopyableBuilder<EventSubscription.Builder,EventSubscription>
Contains the results of a successful invocation of the DescribeEventSubscriptions action.
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 RDS event notification subscription.
|
String |
custSubscriptionId()
The RDS event notification subscription Id.
|
Boolean |
enabled()
A Boolean value indicating if the subscription is enabled.
|
boolean |
equals(Object obj) |
List<String> |
eventCategoriesList()
A list of event categories for the RDS event notification subscription.
|
String |
eventSubscriptionArn()
The Amazon Resource Name (ARN) for the event subscription.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends EventSubscription.Builder> |
serializableBuilderClass() |
String |
snsTopicArn()
The topic ARN of the RDS event notification subscription.
|
List<String> |
sourceIdsList()
A list of source IDs for the RDS event notification subscription.
|
String |
sourceType()
The source type for the RDS event notification subscription.
|
String |
status()
The status of the RDS 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 RDS event notification subscription.
public String custSubscriptionId()
The RDS event notification subscription Id.
public String snsTopicArn()
The topic ARN of the RDS event notification subscription.
public 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.
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 subscriptionCreationTime()
The time the RDS event notification subscription was created.
public String sourceType()
The source type for the RDS event notification subscription.
public List<String> sourceIdsList()
A list of source IDs for the RDS event notification subscription.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> eventCategoriesList()
A list of event categories for the RDS event notification subscription.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Boolean enabled()
A Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled.
public String eventSubscriptionArn()
The Amazon Resource Name (ARN) for the event subscription.
public EventSubscription.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EventSubscription.Builder,EventSubscription>
public static EventSubscription.Builder builder()
public static Class<? extends EventSubscription.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.