CopyableBuilder<EventSubscription.Builder,EventSubscription>
, SdkBuilder<EventSubscription.Builder,EventSubscription>
public static interface EventSubscription.Builder extends CopyableBuilder<EventSubscription.Builder,EventSubscription>
Modifier and Type | Method | 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.
|
EventSubscription.Builder |
eventCategoriesList(String... eventCategoriesList) |
The list of Amazon Redshift event categories specified in the event notification subscription.
|
EventSubscription.Builder |
eventCategoriesList(Collection<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(String... sourceIdsList) |
A list of the sources that publish events to the Amazon Redshift 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 |
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(Date 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(Tag... tags) |
The list of tags for the event subscription.
|
copy
apply, 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(Date 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.
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 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
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 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 the subscription
is enabled.
enabled
- A Boolean value indicating whether the subscription is enabled. true
indicates 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.
NOTE: This method appends the values to the existing list (if any). Use
#setTags(java.util.Collection)
or #withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The list of tags for the event subscription.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.