public static interface EventDestination.Builder extends CopyableBuilder<EventDestination.Builder,EventDestination>
Modifier and Type | Method and Description |
---|---|
EventDestination.Builder |
cloudWatchDestination(CloudWatchDestination cloudWatchDestination)
An object that contains the names, default values, and sources of the dimensions associated with an Amazon
CloudWatch event destination.
|
default EventDestination.Builder |
cloudWatchDestination(Consumer<CloudWatchDestination.Builder> cloudWatchDestination)
An object that contains the names, default values, and sources of the dimensions associated with an Amazon
CloudWatch event destination.
|
EventDestination.Builder |
enabled(Boolean enabled)
Sets whether Amazon SES publishes events to this destination when you send an email with the associated
configuration set.
|
default EventDestination.Builder |
kinesisFirehoseDestination(Consumer<KinesisFirehoseDestination.Builder> kinesisFirehoseDestination)
An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis
Firehose event destination.
|
EventDestination.Builder |
kinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)
An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis
Firehose event destination.
|
EventDestination.Builder |
matchingEventTypes(Collection<String> matchingEventTypes)
The type of email sending events to publish to the event destination.
|
EventDestination.Builder |
matchingEventTypes(String... matchingEventTypes)
The type of email sending events to publish to the event destination.
|
EventDestination.Builder |
name(String name)
The name of the event destination.
|
default EventDestination.Builder |
snsDestination(Consumer<SNSDestination.Builder> snsDestination)
An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS)
event destination.
|
EventDestination.Builder |
snsDestination(SNSDestination snsDestination)
An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS)
event destination.
|
copy
apply, build
EventDestination.Builder name(String name)
The name of the event destination. The name must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain less than 64 characters.
name
- The name of the event destination. The name must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain less than 64 characters.
EventDestination.Builder enabled(Boolean enabled)
Sets whether Amazon SES publishes events to this destination when you send an email with the associated
configuration set. Set to true
to enable publishing to this destination; set to
false
to prevent publishing to this destination. The default value is false
.
enabled
- Sets whether Amazon SES publishes events to this destination when you send an email with the
associated configuration set. Set to true
to enable publishing to this destination; set
to false
to prevent publishing to this destination. The default value is
false
.EventDestination.Builder matchingEventTypes(Collection<String> matchingEventTypes)
The type of email sending events to publish to the event destination.
matchingEventTypes
- The type of email sending events to publish to the event destination.EventDestination.Builder matchingEventTypes(String... matchingEventTypes)
The type of email sending events to publish to the event destination.
matchingEventTypes
- The type of email sending events to publish to the event destination.EventDestination.Builder kinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)
An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.
kinesisFirehoseDestination
- An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis
Firehose event destination.default EventDestination.Builder kinesisFirehoseDestination(Consumer<KinesisFirehoseDestination.Builder> kinesisFirehoseDestination)
An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.
This is a convenience that creates an instance of theKinesisFirehoseDestination.Builder
avoiding the
need to create one manually via KinesisFirehoseDestination.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to kinesisFirehoseDestination(KinesisFirehoseDestination)
.kinesisFirehoseDestination
- a consumer that will call methods on KinesisFirehoseDestination.Builder
kinesisFirehoseDestination(KinesisFirehoseDestination)
EventDestination.Builder cloudWatchDestination(CloudWatchDestination cloudWatchDestination)
An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.
cloudWatchDestination
- An object that contains the names, default values, and sources of the dimensions associated with an
Amazon CloudWatch event destination.default EventDestination.Builder cloudWatchDestination(Consumer<CloudWatchDestination.Builder> cloudWatchDestination)
An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.
This is a convenience that creates an instance of theCloudWatchDestination.Builder
avoiding the need
to create one manually via CloudWatchDestination.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to cloudWatchDestination(CloudWatchDestination)
.cloudWatchDestination
- a consumer that will call methods on CloudWatchDestination.Builder
cloudWatchDestination(CloudWatchDestination)
EventDestination.Builder snsDestination(SNSDestination snsDestination)
An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.
snsDestination
- An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon
SNS) event destination.default EventDestination.Builder snsDestination(Consumer<SNSDestination.Builder> snsDestination)
An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.
This is a convenience that creates an instance of theSNSDestination.Builder
avoiding the need to
create one manually via SNSDestination.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to snsDestination(SNSDestination)
.snsDestination
- a consumer that will call methods on SNSDestination.Builder
snsDestination(SNSDestination)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.