Class AwsRdsEventSubscriptionDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsRdsEventSubscriptionDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsRdsEventSubscriptionDetails.Builder,AwsRdsEventSubscriptionDetails>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsRdsEventSubscriptionDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsRdsEventSubscriptionDetails.Builderbuilder()StringcustomerAwsId()The identifier of the event notification subscription.StringcustSubscriptionId()The identifier of the account that is associated with the event notification subscription.Booleanenabled()Whether the event notification subscription is enabled.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)List<String>eventCategoriesList()The list of event categories for the event notification subscription.StringeventSubscriptionArn()The ARN of the event notification subscription.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasEventCategoriesList()For responses, this returns true if the service returned a value for the EventCategoriesList property.inthashCode()booleanhasSourceIdsList()For responses, this returns true if the service returned a value for the SourceIdsList property.List<SdkField<?>>sdkFields()static Class<? extends AwsRdsEventSubscriptionDetails.Builder>serializableBuilderClass()StringsnsTopicArn()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.StringsourceType()The source type for the event notification subscription.Stringstatus()The status of the event notification subscription.StringsubscriptionCreationTime()The datetime when the event notification subscription was created.AwsRdsEventSubscriptionDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
custSubscriptionId
public final String custSubscriptionId()
The identifier of the account that is associated with the event notification subscription.
- Returns:
- The identifier of the account that is associated with the event notification subscription.
-
customerAwsId
public final String customerAwsId()
The identifier of the event notification subscription.
- Returns:
- The identifier of the event notification subscription.
-
enabled
public final Boolean enabled()
Whether the event notification subscription is enabled.
- Returns:
- Whether the event notification subscription is enabled.
-
hasEventCategoriesList
public final boolean hasEventCategoriesList()
For responses, this returns true if the service returned a value for the EventCategoriesList property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
eventCategoriesList
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.- Returns:
- The list of event categories for the event notification subscription.
-
eventSubscriptionArn
public final String eventSubscriptionArn()
The ARN of the event notification subscription.
- Returns:
- The ARN of the event notification subscription.
-
snsTopicArn
public final String snsTopicArn()
The ARN of the SNS topic to post the event notifications to.
- Returns:
- The ARN of the SNS topic to post the event notifications to.
-
hasSourceIdsList
public final boolean hasSourceIdsList()
For responses, this returns true if the service returned a value for the SourceIdsList property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
sourceIdsList
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.- Returns:
- A list of source identifiers for the event notification subscription.
-
sourceType
public final String sourceType()
The source type for the event notification subscription.
- Returns:
- The source type for the event notification subscription.
-
status
public final String status()
The status of the event notification subscription.
Valid values:
creating|modifying|deleting|active|no-permission|topic-not-exist- Returns:
- The status of the event notification subscription.
Valid values:
creating|modifying|deleting|active|no-permission|topic-not-exist
-
subscriptionCreationTime
public final String subscriptionCreationTime()
The datetime when the event notification subscription was created.
This field accepts only the specified formats. Timestamps can end with
Zor("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
- Returns:
- The datetime when the event notification subscription was created.
This field accepts only the specified formats. Timestamps can end with
Zor("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
-
-
-
toBuilder
public AwsRdsEventSubscriptionDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsRdsEventSubscriptionDetails.Builder,AwsRdsEventSubscriptionDetails>
-
builder
public static AwsRdsEventSubscriptionDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsRdsEventSubscriptionDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-