@Generated(value="software.amazon.awssdk:codegen") public final class EventDestinationDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventDestinationDefinition.Builder,EventDestinationDefinition>
An object that defines the event destination. Specifically, it defines which services receive events from emails sent using the configuration set that the event destination is associated with. Also defines the types of events that are sent to the event destination.
Modifier and Type | Class and Description |
---|---|
static interface |
EventDestinationDefinition.Builder |
Modifier and Type | Method and Description |
---|---|
static EventDestinationDefinition.Builder |
builder() |
CloudWatchDestination |
cloudWatchDestination()
An object that defines an Amazon CloudWatch destination for email events.
|
Boolean |
enabled()
If
true , the event destination is enabled. |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
KinesisFirehoseDestination |
kinesisFirehoseDestination()
An object that defines an Amazon Kinesis Data Firehose destination for email events.
|
List<EventType> |
matchingEventTypes()
An array that specifies which events Amazon Pinpoint should send to the destinations in this
EventDestinationDefinition . |
List<String> |
matchingEventTypesAsStrings()
An array that specifies which events Amazon Pinpoint should send to the destinations in this
EventDestinationDefinition . |
PinpointDestination |
pinpointDestination()
An object that defines a Amazon Pinpoint destination for email events.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EventDestinationDefinition.Builder> |
serializableBuilderClass() |
SnsDestination |
snsDestination()
An object that defines an Amazon SNS destination for email events.
|
EventDestinationDefinition.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Boolean enabled()
If true
, the event destination is enabled. When the event destination is enabled, the specified
event types are sent to the destinations in this EventDestinationDefinition
.
If false
, the event destination is disabled. When the event destination is disabled, events aren't
sent to the specified destinations.
true
, the event destination is enabled. When the event destination is enabled, the
specified event types are sent to the destinations in this EventDestinationDefinition
.
If false
, the event destination is disabled. When the event destination is disabled, events
aren't sent to the specified destinations.
public List<EventType> matchingEventTypes()
An array that specifies which events Amazon Pinpoint should send to the destinations in this
EventDestinationDefinition
.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
EventDestinationDefinition
.public List<String> matchingEventTypesAsStrings()
An array that specifies which events Amazon Pinpoint should send to the destinations in this
EventDestinationDefinition
.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
EventDestinationDefinition
.public KinesisFirehoseDestination kinesisFirehoseDestination()
An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to stream data to other services, such as Amazon S3 and Amazon Redshift.
public CloudWatchDestination cloudWatchDestination()
An object that defines an Amazon CloudWatch destination for email events. You can use Amazon CloudWatch to monitor and gain insights on your email sending metrics.
public SnsDestination snsDestination()
An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notification when certain email events occur.
public PinpointDestination pinpointDestination()
An object that defines a Amazon Pinpoint destination for email events. You can use Amazon Pinpoint events to create attributes in Amazon Pinpoint projects. You can use these attributes to create segments for your campaigns.
public EventDestinationDefinition.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EventDestinationDefinition.Builder,EventDestinationDefinition>
public static EventDestinationDefinition.Builder builder()
public static Class<? extends EventDestinationDefinition.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.