@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsRdsEventSubscriptionDetails extends Object implements Serializable, Cloneable, StructuredPojo
Details about an Amazon RDS event notification subscription. The subscription allows Amazon RDS to post events to an SNS topic.
Constructor and Description |
---|
AwsRdsEventSubscriptionDetails() |
Modifier and Type | Method and Description |
---|---|
AwsRdsEventSubscriptionDetails |
clone() |
boolean |
equals(Object obj) |
String |
getCustomerAwsId()
The identifier of the event notification subscription.
|
String |
getCustSubscriptionId()
The identifier of the account that is associated with the event notification subscription.
|
Boolean |
getEnabled()
Whether the event notification subscription is enabled.
|
List<String> |
getEventCategoriesList()
The list of event categories for the event notification subscription.
|
String |
getEventSubscriptionArn()
The ARN of the event notification subscription.
|
String |
getSnsTopicArn()
The ARN of the SNS topic to post the event notifications to.
|
List<String> |
getSourceIdsList()
A list of source identifiers for the event notification subscription.
|
String |
getSourceType()
The source type for the event notification subscription.
|
String |
getStatus()
The status of the event notification subscription.
|
String |
getSubscriptionCreationTime()
The datetime when the event notification subscription was created.
|
int |
hashCode() |
Boolean |
isEnabled()
Whether the event notification subscription is enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomerAwsId(String customerAwsId)
The identifier of the event notification subscription.
|
void |
setCustSubscriptionId(String custSubscriptionId)
The identifier of the account that is associated with the event notification subscription.
|
void |
setEnabled(Boolean enabled)
Whether the event notification subscription is enabled.
|
void |
setEventCategoriesList(Collection<String> eventCategoriesList)
The list of event categories for the event notification subscription.
|
void |
setEventSubscriptionArn(String eventSubscriptionArn)
The ARN of the event notification subscription.
|
void |
setSnsTopicArn(String snsTopicArn)
The ARN of the SNS topic to post the event notifications to.
|
void |
setSourceIdsList(Collection<String> sourceIdsList)
A list of source identifiers for the event notification subscription.
|
void |
setSourceType(String sourceType)
The source type for the event notification subscription.
|
void |
setStatus(String status)
The status of the event notification subscription.
|
void |
setSubscriptionCreationTime(String subscriptionCreationTime)
The datetime when the event notification subscription was created.
|
String |
toString()
Returns a string representation of this object.
|
AwsRdsEventSubscriptionDetails |
withCustomerAwsId(String customerAwsId)
The identifier of the event notification subscription.
|
AwsRdsEventSubscriptionDetails |
withCustSubscriptionId(String custSubscriptionId)
The identifier of the account that is associated with the event notification subscription.
|
AwsRdsEventSubscriptionDetails |
withEnabled(Boolean enabled)
Whether the event notification subscription is enabled.
|
AwsRdsEventSubscriptionDetails |
withEventCategoriesList(Collection<String> eventCategoriesList)
The list of event categories for the event notification subscription.
|
AwsRdsEventSubscriptionDetails |
withEventCategoriesList(String... eventCategoriesList)
The list of event categories for the event notification subscription.
|
AwsRdsEventSubscriptionDetails |
withEventSubscriptionArn(String eventSubscriptionArn)
The ARN of the event notification subscription.
|
AwsRdsEventSubscriptionDetails |
withSnsTopicArn(String snsTopicArn)
The ARN of the SNS topic to post the event notifications to.
|
AwsRdsEventSubscriptionDetails |
withSourceIdsList(Collection<String> sourceIdsList)
A list of source identifiers for the event notification subscription.
|
AwsRdsEventSubscriptionDetails |
withSourceIdsList(String... sourceIdsList)
A list of source identifiers for the event notification subscription.
|
AwsRdsEventSubscriptionDetails |
withSourceType(String sourceType)
The source type for the event notification subscription.
|
AwsRdsEventSubscriptionDetails |
withStatus(String status)
The status of the event notification subscription.
|
AwsRdsEventSubscriptionDetails |
withSubscriptionCreationTime(String subscriptionCreationTime)
The datetime when the event notification subscription was created.
|
public void setCustSubscriptionId(String custSubscriptionId)
The identifier of the account that is associated with the event notification subscription.
custSubscriptionId
- The identifier of the account that is associated with the event notification subscription.public String getCustSubscriptionId()
The identifier of the account that is associated with the event notification subscription.
public AwsRdsEventSubscriptionDetails withCustSubscriptionId(String custSubscriptionId)
The identifier of the account that is associated with the event notification subscription.
custSubscriptionId
- The identifier of the account that is associated with the event notification subscription.public void setCustomerAwsId(String customerAwsId)
The identifier of the event notification subscription.
customerAwsId
- The identifier of the event notification subscription.public String getCustomerAwsId()
The identifier of the event notification subscription.
public AwsRdsEventSubscriptionDetails withCustomerAwsId(String customerAwsId)
The identifier of the event notification subscription.
customerAwsId
- The identifier of the event notification subscription.public void setEnabled(Boolean enabled)
Whether the event notification subscription is enabled.
enabled
- Whether the event notification subscription is enabled.public Boolean getEnabled()
Whether the event notification subscription is enabled.
public AwsRdsEventSubscriptionDetails withEnabled(Boolean enabled)
Whether the event notification subscription is enabled.
enabled
- Whether the event notification subscription is enabled.public Boolean isEnabled()
Whether the event notification subscription is enabled.
public List<String> getEventCategoriesList()
The list of event categories for the event notification subscription.
public void setEventCategoriesList(Collection<String> eventCategoriesList)
The list of event categories for the event notification subscription.
eventCategoriesList
- The list of event categories for the event notification subscription.public AwsRdsEventSubscriptionDetails withEventCategoriesList(String... eventCategoriesList)
The list of event categories for the event notification subscription.
NOTE: This method appends the values to the existing list (if any). Use
setEventCategoriesList(java.util.Collection)
or withEventCategoriesList(java.util.Collection)
if you want to override the existing values.
eventCategoriesList
- The list of event categories for the event notification subscription.public AwsRdsEventSubscriptionDetails withEventCategoriesList(Collection<String> eventCategoriesList)
The list of event categories for the event notification subscription.
eventCategoriesList
- The list of event categories for the event notification subscription.public void setEventSubscriptionArn(String eventSubscriptionArn)
The ARN of the event notification subscription.
eventSubscriptionArn
- The ARN of the event notification subscription.public String getEventSubscriptionArn()
The ARN of the event notification subscription.
public AwsRdsEventSubscriptionDetails withEventSubscriptionArn(String eventSubscriptionArn)
The ARN of the event notification subscription.
eventSubscriptionArn
- The ARN of the event notification subscription.public void setSnsTopicArn(String snsTopicArn)
The ARN of the SNS topic to post the event notifications to.
snsTopicArn
- The ARN of the SNS topic to post the event notifications to.public String getSnsTopicArn()
The ARN of the SNS topic to post the event notifications to.
public AwsRdsEventSubscriptionDetails withSnsTopicArn(String snsTopicArn)
The ARN of the SNS topic to post the event notifications to.
snsTopicArn
- The ARN of the SNS topic to post the event notifications to.public List<String> getSourceIdsList()
A list of source identifiers for the event notification subscription.
public void setSourceIdsList(Collection<String> sourceIdsList)
A list of source identifiers for the event notification subscription.
sourceIdsList
- A list of source identifiers for the event notification subscription.public AwsRdsEventSubscriptionDetails withSourceIdsList(String... sourceIdsList)
A list of source identifiers for the event notification subscription.
NOTE: This method appends the values to the existing list (if any). Use
setSourceIdsList(java.util.Collection)
or withSourceIdsList(java.util.Collection)
if you want
to override the existing values.
sourceIdsList
- A list of source identifiers for the event notification subscription.public AwsRdsEventSubscriptionDetails withSourceIdsList(Collection<String> sourceIdsList)
A list of source identifiers for the event notification subscription.
sourceIdsList
- A list of source identifiers for the event notification subscription.public void setSourceType(String sourceType)
The source type for the event notification subscription.
sourceType
- The source type for the event notification subscription.public String getSourceType()
The source type for the event notification subscription.
public AwsRdsEventSubscriptionDetails withSourceType(String sourceType)
The source type for the event notification subscription.
sourceType
- The source type for the event notification subscription.public void setStatus(String status)
The status of the event notification subscription.
Valid values: creating
| modifying
| deleting
| active
|
no-permission
| topic-not-exist
status
- The status of the event notification subscription.
Valid values: creating
| modifying
| deleting
| active
| no-permission
| topic-not-exist
public String getStatus()
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 AwsRdsEventSubscriptionDetails withStatus(String status)
The status of the event notification subscription.
Valid values: creating
| modifying
| deleting
| active
|
no-permission
| topic-not-exist
status
- The status of the event notification subscription.
Valid values: creating
| modifying
| deleting
| active
| no-permission
| topic-not-exist
public void setSubscriptionCreationTime(String subscriptionCreationTime)
The datetime when the event notification subscription was created.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") 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
)
subscriptionCreationTime
- The datetime when the event notification subscription was created.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") 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
)
public String getSubscriptionCreationTime()
The datetime when the event notification subscription was created.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") 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
)
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") 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
)
public AwsRdsEventSubscriptionDetails withSubscriptionCreationTime(String subscriptionCreationTime)
The datetime when the event notification subscription was created.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") 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
)
subscriptionCreationTime
- The datetime when the event notification subscription was created.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") 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
)
public String toString()
toString
in class Object
Object.toString()
public AwsRdsEventSubscriptionDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.