public static interface EventSubscription.Builder extends SdkPojo, CopyableBuilder<EventSubscription.Builder,EventSubscription>
Modifier and Type | Method and Description |
---|---|
EventSubscription.Builder |
customerAwsId(String customerAwsId)
The AWS customer account associated with the Amazon Redshift event notification subscription.
|
EventSubscription.Builder |
custSubscriptionId(String custSubscriptionId)
The name of the Amazon Redshift event notification subscription.
|
EventSubscription.Builder |
enabled(Boolean enabled)
A boolean value indicating whether the subscription is enabled;
true indicates that the
subscription is enabled. |
EventSubscription.Builder |
eventCategoriesList(Collection<String> eventCategoriesList)
The list of Amazon Redshift event categories specified in the event notification subscription.
|
EventSubscription.Builder |
eventCategoriesList(String... eventCategoriesList)
The list of Amazon Redshift event categories specified in the event notification subscription.
|
EventSubscription.Builder |
severity(String severity)
The event severity specified in the Amazon Redshift event notification subscription.
|
EventSubscription.Builder |
snsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the Amazon SNS topic used by the event notification subscription.
|
EventSubscription.Builder |
sourceIdsList(Collection<String> sourceIdsList)
A list of the sources that publish events to the Amazon Redshift event notification subscription.
|
EventSubscription.Builder |
sourceIdsList(String... sourceIdsList)
A list of the sources that publish events to the Amazon Redshift event notification subscription.
|
EventSubscription.Builder |
sourceType(String sourceType)
The source type of the events returned the Amazon Redshift event notification, such as cluster, or
cluster-snapshot.
|
EventSubscription.Builder |
status(String status)
The status of the Amazon Redshift event notification subscription.
|
EventSubscription.Builder |
subscriptionCreationTime(Instant subscriptionCreationTime)
The date and time the Amazon Redshift event notification subscription was created.
|
EventSubscription.Builder |
tags(Collection<Tag> tags)
The list of tags for the event subscription.
|
EventSubscription.Builder |
tags(Consumer<Tag.Builder>... tags)
The list of tags for the event subscription.
|
EventSubscription.Builder |
tags(Tag... tags)
The list of tags for the event subscription.
|
copy
applyMutation, build
EventSubscription.Builder customerAwsId(String customerAwsId)
The AWS customer account associated with the Amazon Redshift event notification subscription.
customerAwsId
- The AWS customer account associated with the Amazon Redshift event notification subscription.EventSubscription.Builder custSubscriptionId(String custSubscriptionId)
The name of the Amazon Redshift event notification subscription.
custSubscriptionId
- The name of the Amazon Redshift event notification subscription.EventSubscription.Builder snsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the Amazon SNS topic used by the event notification subscription.
snsTopicArn
- The Amazon Resource Name (ARN) of the Amazon SNS topic used by the event notification subscription.EventSubscription.Builder status(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.
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.
EventSubscription.Builder subscriptionCreationTime(Instant subscriptionCreationTime)
The date and time the Amazon Redshift event notification subscription was created.
subscriptionCreationTime
- The date and time the Amazon Redshift event notification subscription was created.EventSubscription.Builder sourceType(String sourceType)
The source type of the events returned the Amazon Redshift event notification, such as cluster, or cluster-snapshot.
sourceType
- The source type of the events returned the Amazon Redshift event notification, such as cluster, or
cluster-snapshot.EventSubscription.Builder sourceIdsList(Collection<String> sourceIdsList)
A list of the sources that publish events to the Amazon Redshift event notification subscription.
sourceIdsList
- A list of the sources that publish events to the Amazon Redshift event notification subscription.EventSubscription.Builder sourceIdsList(String... sourceIdsList)
A list of the sources that publish events to the Amazon Redshift event notification subscription.
sourceIdsList
- A list of the sources that publish events to the Amazon Redshift event notification subscription.EventSubscription.Builder eventCategoriesList(Collection<String> eventCategoriesList)
The list of Amazon Redshift event categories specified in the event notification subscription.
Values: Configuration, Management, Monitoring, Security
eventCategoriesList
- The list of Amazon Redshift event categories specified in the event notification subscription.
Values: Configuration, Management, Monitoring, Security
EventSubscription.Builder eventCategoriesList(String... eventCategoriesList)
The list of Amazon Redshift event categories specified in the event notification subscription.
Values: Configuration, Management, Monitoring, Security
eventCategoriesList
- The list of Amazon Redshift event categories specified in the event notification subscription.
Values: Configuration, Management, Monitoring, Security
EventSubscription.Builder severity(String severity)
The event severity specified in the Amazon Redshift event notification subscription.
Values: ERROR, INFO
severity
- The event severity specified in the Amazon Redshift event notification subscription.
Values: ERROR, INFO
EventSubscription.Builder enabled(Boolean enabled)
A boolean value indicating whether the subscription is enabled; true
indicates that the
subscription is enabled.
enabled
- A boolean value indicating whether the subscription is enabled; true
indicates that the
subscription is enabled.EventSubscription.Builder tags(Collection<Tag> tags)
The list of tags for the event subscription.
tags
- The list of tags for the event subscription.EventSubscription.Builder tags(Tag... tags)
The list of tags for the event subscription.
tags
- The list of tags for the event subscription.EventSubscription.Builder tags(Consumer<Tag.Builder>... tags)
The list of tags for the event subscription.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.