@Generated(value="software.amazon.awssdk:codegen") public final class AwsRdsEventSubscriptionDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsRdsEventSubscriptionDetails.Builder,AwsRdsEventSubscriptionDetails>
Details about an Amazon RDS event notification subscription. The subscription allows Amazon RDS to post events to an SNS topic.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsRdsEventSubscriptionDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwsRdsEventSubscriptionDetails.Builder |
builder() |
String |
customerAwsId()
The identifier of the event notification subscription.
|
String |
custSubscriptionId()
The identifier of the account that is associated with the event notification subscription.
|
Boolean |
enabled()
Whether the event notification subscription is enabled.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
eventCategoriesList()
The list of event categories for the event notification subscription.
|
String |
eventSubscriptionArn()
The ARN of the event notification subscription.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEventCategoriesList()
For responses, this returns true if the service returned a value for the EventCategoriesList property.
|
int |
hashCode() |
boolean |
hasSourceIdsList()
For responses, this returns true if the service returned a value for the SourceIdsList property.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsRdsEventSubscriptionDetails.Builder> |
serializableBuilderClass() |
String |
snsTopicArn()
The ARN of the SNS topic to post the event notifications to.
|
List<String> |
sourceIdsList()
A list of source identifiers for the event notification subscription.
|
String |
sourceType()
The source type for the event notification subscription.
|
String |
status()
The status of the event notification subscription.
|
String |
subscriptionCreationTime()
The datetime when the event notification subscription was created.
|
AwsRdsEventSubscriptionDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String custSubscriptionId()
The identifier of the account that is associated with the event notification subscription.
public final String customerAwsId()
The identifier of the event notification subscription.
public final Boolean enabled()
Whether the event notification subscription is enabled.
public final boolean hasEventCategoriesList()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> eventCategoriesList()
The list of event categories for the event notification subscription.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEventCategoriesList() method.
public final String eventSubscriptionArn()
The ARN of the event notification subscription.
public final String snsTopicArn()
The ARN of the SNS topic to post the event notifications to.
public final boolean hasSourceIdsList()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> sourceIdsList()
A list of source identifiers for the event notification subscription.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSourceIdsList() method.
public final String sourceType()
The source type for the event notification subscription.
public final String status()
The status of the event notification subscription.
Valid values: creating | modifying | deleting | active |
no-permission | topic-not-exist
Valid values: creating | modifying | deleting |
active | no-permission | topic-not-exist
public final String subscriptionCreationTime()
The datetime when the event notification subscription was created.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
separated by T. For example, 2020-03-22T13:22:13.933Z.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces, and date and time should be separated by T. For
example, 2020-03-22T13:22:13.933Z.
public AwsRdsEventSubscriptionDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsRdsEventSubscriptionDetails.Builder,AwsRdsEventSubscriptionDetails>public static AwsRdsEventSubscriptionDetails.Builder builder()
public static Class<? extends AwsRdsEventSubscriptionDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.