@Generated(value="software.amazon.awssdk:codegen") public class EventDestination extends Object implements ToCopyableBuilder<EventDestination.Builder,EventDestination>
Contains information about the event destination that the specified email sending events will be published to.
When you create or update an event destination, you must provide one, and only one, destination. The destination can be Amazon CloudWatch, Amazon Kinesis Firehose or Amazon Simple Notification Service (Amazon SNS).
Event destinations are associated with configuration sets, which enable you to publish email sending events to Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS). For information about using configuration sets, see the Amazon SES Developer Guide.
Modifier and Type | Class and Description |
---|---|
static interface |
EventDestination.Builder |
Modifier and Type | Method and Description |
---|---|
static EventDestination.Builder |
builder() |
CloudWatchDestination |
cloudWatchDestination()
An object that contains the names, default values, and sources of the dimensions associated with an Amazon
CloudWatch event destination.
|
Boolean |
enabled()
Sets whether Amazon SES publishes events to this destination when you send an email with the associated
configuration set.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
KinesisFirehoseDestination |
kinesisFirehoseDestination()
An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose
event destination.
|
List<EventType> |
matchingEventTypes()
The type of email sending events to publish to the event destination.
|
List<String> |
matchingEventTypesStrings()
The type of email sending events to publish to the event destination.
|
String |
name()
The name of the event destination.
|
static Class<? extends EventDestination.Builder> |
serializableBuilderClass() |
SNSDestination |
snsDestination()
An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event
destination.
|
EventDestination.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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.
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain less than 64 characters.
public 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
.
true
to enable publishing to this destination; set to
false
to prevent publishing to this destination. The default value is false
.public List<EventType> matchingEventTypes()
The type of email sending events to publish to the event destination.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> matchingEventTypesStrings()
The type of email sending events to publish to the event destination.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public KinesisFirehoseDestination kinesisFirehoseDestination()
An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.
public CloudWatchDestination cloudWatchDestination()
An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.
public SNSDestination snsDestination()
An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.
public EventDestination.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EventDestination.Builder,EventDestination>
public static EventDestination.Builder builder()
public static Class<? extends EventDestination.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.