public static interface ModifyEventSubscriptionRequest.Builder extends RedshiftRequest.Builder, CopyableBuilder<ModifyEventSubscriptionRequest.Builder,ModifyEventSubscriptionRequest>
Modifier and Type | Method and Description |
---|---|
ModifyEventSubscriptionRequest.Builder |
enabled(Boolean enabled)
A Boolean value indicating if the subscription is enabled.
|
ModifyEventSubscriptionRequest.Builder |
eventCategories(Collection<String> eventCategories)
Specifies the Amazon Redshift event categories to be published by the event notification subscription.
|
ModifyEventSubscriptionRequest.Builder |
eventCategories(String... eventCategories)
Specifies the Amazon Redshift event categories to be published by the event notification subscription.
|
ModifyEventSubscriptionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ModifyEventSubscriptionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
ModifyEventSubscriptionRequest.Builder |
severity(String severity)
Specifies the Amazon Redshift event severity to be published by the event notification subscription.
|
ModifyEventSubscriptionRequest.Builder |
snsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the SNS topic to be used by the event notification subscription.
|
ModifyEventSubscriptionRequest.Builder |
sourceIds(Collection<String> sourceIds)
A list of one or more identifiers of Amazon Redshift source objects.
|
ModifyEventSubscriptionRequest.Builder |
sourceIds(String... sourceIds)
A list of one or more identifiers of Amazon Redshift source objects.
|
ModifyEventSubscriptionRequest.Builder |
sourceType(String sourceType)
The type of source that will be generating the events.
|
ModifyEventSubscriptionRequest.Builder |
subscriptionName(String subscriptionName)
The name of the modified Amazon Redshift event notification subscription.
|
build
overrideConfiguration
copy
applyMutation, build
ModifyEventSubscriptionRequest.Builder subscriptionName(String subscriptionName)
The name of the modified Amazon Redshift event notification subscription.
subscriptionName
- The name of the modified Amazon Redshift event notification subscription.ModifyEventSubscriptionRequest.Builder snsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the SNS topic to be used by the event notification subscription.
snsTopicArn
- The Amazon Resource Name (ARN) of the SNS topic to be used by the event notification subscription.ModifyEventSubscriptionRequest.Builder sourceType(String sourceType)
The type of source that will be generating the events. For example, if you want to be notified of events generated by a cluster, you would set this parameter to cluster. If this value is not specified, events are returned for all Amazon Redshift objects in your AWS account. You must specify a source type in order to specify source IDs.
Valid values: cluster, cluster-parameter-group, cluster-security-group, and cluster-snapshot.
sourceType
- The type of source that will be generating the events. For example, if you want to be notified of
events generated by a cluster, you would set this parameter to cluster. If this value is not
specified, events are returned for all Amazon Redshift objects in your AWS account. You must specify a
source type in order to specify source IDs.
Valid values: cluster, cluster-parameter-group, cluster-security-group, and cluster-snapshot.
ModifyEventSubscriptionRequest.Builder sourceIds(Collection<String> sourceIds)
A list of one or more identifiers of Amazon Redshift source objects. All of the objects must be of the same type as was specified in the source type parameter. The event subscription will return only events generated by the specified objects. If not specified, then events are returned for all objects within the source type specified.
Example: my-cluster-1, my-cluster-2
Example: my-snapshot-20131010
sourceIds
- A list of one or more identifiers of Amazon Redshift source objects. All of the objects must be of the
same type as was specified in the source type parameter. The event subscription will return only
events generated by the specified objects. If not specified, then events are returned for all objects
within the source type specified.
Example: my-cluster-1, my-cluster-2
Example: my-snapshot-20131010
ModifyEventSubscriptionRequest.Builder sourceIds(String... sourceIds)
A list of one or more identifiers of Amazon Redshift source objects. All of the objects must be of the same type as was specified in the source type parameter. The event subscription will return only events generated by the specified objects. If not specified, then events are returned for all objects within the source type specified.
Example: my-cluster-1, my-cluster-2
Example: my-snapshot-20131010
sourceIds
- A list of one or more identifiers of Amazon Redshift source objects. All of the objects must be of the
same type as was specified in the source type parameter. The event subscription will return only
events generated by the specified objects. If not specified, then events are returned for all objects
within the source type specified.
Example: my-cluster-1, my-cluster-2
Example: my-snapshot-20131010
ModifyEventSubscriptionRequest.Builder eventCategories(Collection<String> eventCategories)
Specifies the Amazon Redshift event categories to be published by the event notification subscription.
Values: Configuration, Management, Monitoring, Security
eventCategories
- Specifies the Amazon Redshift event categories to be published by the event notification
subscription.
Values: Configuration, Management, Monitoring, Security
ModifyEventSubscriptionRequest.Builder eventCategories(String... eventCategories)
Specifies the Amazon Redshift event categories to be published by the event notification subscription.
Values: Configuration, Management, Monitoring, Security
eventCategories
- Specifies the Amazon Redshift event categories to be published by the event notification
subscription.
Values: Configuration, Management, Monitoring, Security
ModifyEventSubscriptionRequest.Builder severity(String severity)
Specifies the Amazon Redshift event severity to be published by the event notification subscription.
Values: ERROR, INFO
severity
- Specifies the Amazon Redshift event severity to be published by the event notification
subscription.
Values: ERROR, INFO
ModifyEventSubscriptionRequest.Builder enabled(Boolean enabled)
A Boolean value indicating if the subscription is enabled. true
indicates the subscription is
enabled
enabled
- A Boolean value indicating if the subscription is enabled. true
indicates the
subscription is enabledModifyEventSubscriptionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ModifyEventSubscriptionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.