Interface EventDestination.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EventDestination.Builder,
,EventDestination> SdkBuilder<EventDestination.Builder,
,EventDestination> SdkPojo
- Enclosing class:
EventDestination
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.cloudWatchDestination
(CloudWatchDestination cloudWatchDestination) An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.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.kinesisFirehoseDestination
(KinesisFirehoseDestination kinesisFirehoseDestination) An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.matchingEventTypes
(Collection<EventType> matchingEventTypes) The type of email sending events to publish to the event destination.matchingEventTypes
(EventType... matchingEventTypes) The type of email sending events to publish to the event destination.matchingEventTypesWithStrings
(String... matchingEventTypes) The type of email sending events to publish to the event destination.matchingEventTypesWithStrings
(Collection<String> matchingEventTypes) The type of email sending events to publish to the event destination.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.snsDestination
(SNSDestination snsDestination) An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the event destination. The name must meet the following requirements:
-
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
-
Contain 64 characters or fewer.
- Parameters:
name
- The name of the event destination. The name must meet the following requirements:-
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
-
Contain 64 characters or fewer.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
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 tofalse
to prevent publishing to this destination. The default value isfalse
.- Parameters:
enabled
- Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set. Set totrue
to enable publishing to this destination; set tofalse
to prevent publishing to this destination. The default value isfalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchingEventTypesWithStrings
The type of email sending events to publish to the event destination.
-
send
- The call was successful and Amazon SES is attempting to deliver the email. -
reject
- Amazon SES determined that the email contained a virus and rejected it. -
bounce
- The recipient's mail server permanently rejected the email. This corresponds to a hard bounce. -
complaint
- The recipient marked the email as spam. -
delivery
- Amazon SES successfully delivered the email to the recipient's mail server. -
open
- The recipient received the email and opened it in their email client. -
click
- The recipient clicked one or more links in the email. -
renderingFailure
- Amazon SES did not send the email because of a template rendering issue.
- Parameters:
matchingEventTypes
- The type of email sending events to publish to the event destination.-
send
- The call was successful and Amazon SES is attempting to deliver the email. -
reject
- Amazon SES determined that the email contained a virus and rejected it. -
bounce
- The recipient's mail server permanently rejected the email. This corresponds to a hard bounce. -
complaint
- The recipient marked the email as spam. -
delivery
- Amazon SES successfully delivered the email to the recipient's mail server. -
open
- The recipient received the email and opened it in their email client. -
click
- The recipient clicked one or more links in the email. -
renderingFailure
- Amazon SES did not send the email because of a template rendering issue.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
matchingEventTypesWithStrings
The type of email sending events to publish to the event destination.
-
send
- The call was successful and Amazon SES is attempting to deliver the email. -
reject
- Amazon SES determined that the email contained a virus and rejected it. -
bounce
- The recipient's mail server permanently rejected the email. This corresponds to a hard bounce. -
complaint
- The recipient marked the email as spam. -
delivery
- Amazon SES successfully delivered the email to the recipient's mail server. -
open
- The recipient received the email and opened it in their email client. -
click
- The recipient clicked one or more links in the email. -
renderingFailure
- Amazon SES did not send the email because of a template rendering issue.
- Parameters:
matchingEventTypes
- The type of email sending events to publish to the event destination.-
send
- The call was successful and Amazon SES is attempting to deliver the email. -
reject
- Amazon SES determined that the email contained a virus and rejected it. -
bounce
- The recipient's mail server permanently rejected the email. This corresponds to a hard bounce. -
complaint
- The recipient marked the email as spam. -
delivery
- Amazon SES successfully delivered the email to the recipient's mail server. -
open
- The recipient received the email and opened it in their email client. -
click
- The recipient clicked one or more links in the email. -
renderingFailure
- Amazon SES did not send the email because of a template rendering issue.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
matchingEventTypes
The type of email sending events to publish to the event destination.
-
send
- The call was successful and Amazon SES is attempting to deliver the email. -
reject
- Amazon SES determined that the email contained a virus and rejected it. -
bounce
- The recipient's mail server permanently rejected the email. This corresponds to a hard bounce. -
complaint
- The recipient marked the email as spam. -
delivery
- Amazon SES successfully delivered the email to the recipient's mail server. -
open
- The recipient received the email and opened it in their email client. -
click
- The recipient clicked one or more links in the email. -
renderingFailure
- Amazon SES did not send the email because of a template rendering issue.
- Parameters:
matchingEventTypes
- The type of email sending events to publish to the event destination.-
send
- The call was successful and Amazon SES is attempting to deliver the email. -
reject
- Amazon SES determined that the email contained a virus and rejected it. -
bounce
- The recipient's mail server permanently rejected the email. This corresponds to a hard bounce. -
complaint
- The recipient marked the email as spam. -
delivery
- Amazon SES successfully delivered the email to the recipient's mail server. -
open
- The recipient received the email and opened it in their email client. -
click
- The recipient clicked one or more links in the email. -
renderingFailure
- Amazon SES did not send the email because of a template rendering issue.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
matchingEventTypes
The type of email sending events to publish to the event destination.
-
send
- The call was successful and Amazon SES is attempting to deliver the email. -
reject
- Amazon SES determined that the email contained a virus and rejected it. -
bounce
- The recipient's mail server permanently rejected the email. This corresponds to a hard bounce. -
complaint
- The recipient marked the email as spam. -
delivery
- Amazon SES successfully delivered the email to the recipient's mail server. -
open
- The recipient received the email and opened it in their email client. -
click
- The recipient clicked one or more links in the email. -
renderingFailure
- Amazon SES did not send the email because of a template rendering issue.
- Parameters:
matchingEventTypes
- The type of email sending events to publish to the event destination.-
send
- The call was successful and Amazon SES is attempting to deliver the email. -
reject
- Amazon SES determined that the email contained a virus and rejected it. -
bounce
- The recipient's mail server permanently rejected the email. This corresponds to a hard bounce. -
complaint
- The recipient marked the email as spam. -
delivery
- Amazon SES successfully delivered the email to the recipient's mail server. -
open
- The recipient received the email and opened it in their email client. -
click
- The recipient clicked one or more links in the email. -
renderingFailure
- Amazon SES did not send the email because of a template rendering issue.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
kinesisFirehoseDestination
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.
- Parameters:
kinesisFirehoseDestination
- An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kinesisFirehoseDestination
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 method that creates an instance of theKinesisFirehoseDestination.Builder
avoiding the need to create one manually viaKinesisFirehoseDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokinesisFirehoseDestination(KinesisFirehoseDestination)
.- Parameters:
kinesisFirehoseDestination
- a consumer that will call methods onKinesisFirehoseDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cloudWatchDestination
An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.
- Parameters:
cloudWatchDestination
- An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchDestination
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 method that creates an instance of theCloudWatchDestination.Builder
avoiding the need to create one manually viaCloudWatchDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocloudWatchDestination(CloudWatchDestination)
.- Parameters:
cloudWatchDestination
- a consumer that will call methods onCloudWatchDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
snsDestination
An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.
- Parameters:
snsDestination
- An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snsDestination
An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.
This is a convenience method that creates an instance of theSNSDestination.Builder
avoiding the need to create one manually viaSNSDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosnsDestination(SNSDestination)
.- Parameters:
snsDestination
- a consumer that will call methods onSNSDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-