@Generated(value="software.amazon.awssdk:codegen") public final class EventSubscription extends Object implements ToCopyableBuilder<EventSubscription.Builder,EventSubscription>
Describes event subscriptions.
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 Amazon Redshift event notification subscription.
|
String |
custSubscriptionId()
The name of the Amazon Redshift event notification subscription.
|
Boolean |
enabled()
A Boolean value indicating whether the subscription is enabled.
|
boolean |
equals(Object obj) |
List<String> |
eventCategoriesList()
The list of Amazon Redshift event categories specified in the event notification subscription.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends EventSubscription.Builder> |
serializableBuilderClass() |
String |
severity()
The event severity specified in the Amazon Redshift event notification subscription.
|
String |
snsTopicArn()
The Amazon Resource Name (ARN) of the Amazon SNS topic used by the event notification subscription.
|
List<String> |
sourceIdsList()
A list of the sources that publish events to the Amazon Redshift event notification subscription.
|
String |
sourceType()
The source type of the events returned the Amazon Redshift event notification, such as cluster, or
cluster-snapshot.
|
String |
status()
The status of the Amazon Redshift event notification subscription.
|
Instant |
subscriptionCreationTime()
The date and time the Amazon Redshift event notification subscription was created.
|
List<Tag> |
tags()
The list of tags for the event subscription.
|
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 Amazon Redshift event notification subscription.
public String custSubscriptionId()
The name of the Amazon Redshift event notification subscription.
public String snsTopicArn()
The Amazon Resource Name (ARN) of the Amazon SNS topic used by the event notification subscription.
public String status()
The status of the Amazon Redshift event notification subscription.
Constraints:
Can be one of the following: active | no-permission | topic-not-exist
The status "no-permission" indicates that Amazon Redshift no longer has permission to post to the Amazon 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: active | no-permission | topic-not-exist
The status "no-permission" indicates that Amazon Redshift no longer has permission to post to the Amazon SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.
public Instant subscriptionCreationTime()
The date and time the Amazon Redshift event notification subscription was created.
public String sourceType()
The source type of the events returned the Amazon Redshift event notification, such as cluster, or cluster-snapshot.
public List<String> sourceIdsList()
A list of the sources that publish events to the Amazon Redshift event notification subscription.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> eventCategoriesList()
The list of Amazon Redshift event categories specified in the event notification subscription.
Values: Configuration, Management, Monitoring, Security
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Values: Configuration, Management, Monitoring, Security
public String severity()
The event severity specified in the Amazon Redshift event notification subscription.
Values: ERROR, INFO
Values: ERROR, INFO
public Boolean enabled()
A Boolean value indicating whether the subscription is enabled. true
indicates the subscription is
enabled.
true
indicates the
subscription is enabled.public List<Tag> tags()
The list of tags for the event subscription.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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.