public static final class CfnConfigurationSetEventDestination.EventDestinationProperty.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
public CfnConfigurationSetEventDestination.EventDestinationProperty.Builder matchingEventTypes(java.util.List<java.lang.String> matchingEventTypes)
CfnConfigurationSetEventDestination.EventDestinationProperty.getMatchingEventTypes()
matchingEventTypes
- The types of events that Amazon Pinpoint sends to the specified event destinations. This parameter is required.
Acceptable values: SEND
, REJECT
, BOUNCE
, COMPLAINT
, DELIVERY
, OPEN
, CLICK
, and RENDERING_FAILURE
.this
public CfnConfigurationSetEventDestination.EventDestinationProperty.Builder cloudWatchDestination(IResolvable cloudWatchDestination)
CfnConfigurationSetEventDestination.EventDestinationProperty.getCloudWatchDestination()
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.this
public CfnConfigurationSetEventDestination.EventDestinationProperty.Builder cloudWatchDestination(CfnConfigurationSetEventDestination.CloudWatchDestinationProperty cloudWatchDestination)
CfnConfigurationSetEventDestination.EventDestinationProperty.getCloudWatchDestination()
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.this
public CfnConfigurationSetEventDestination.EventDestinationProperty.Builder enabled(java.lang.Boolean enabled)
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.
this
public CfnConfigurationSetEventDestination.EventDestinationProperty.Builder enabled(IResolvable enabled)
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.
this
public CfnConfigurationSetEventDestination.EventDestinationProperty.Builder kinesisFirehoseDestination(IResolvable kinesisFirehoseDestination)
CfnConfigurationSetEventDestination.EventDestinationProperty.getKinesisFirehoseDestination()
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.this
public CfnConfigurationSetEventDestination.EventDestinationProperty.Builder kinesisFirehoseDestination(CfnConfigurationSetEventDestination.KinesisFirehoseDestinationProperty kinesisFirehoseDestination)
CfnConfigurationSetEventDestination.EventDestinationProperty.getKinesisFirehoseDestination()
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.this
public CfnConfigurationSetEventDestination.EventDestinationProperty.Builder pinpointDestination(IResolvable pinpointDestination)
CfnConfigurationSetEventDestination.EventDestinationProperty.getPinpointDestination()
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.this
public CfnConfigurationSetEventDestination.EventDestinationProperty.Builder pinpointDestination(CfnConfigurationSetEventDestination.PinpointDestinationProperty pinpointDestination)
CfnConfigurationSetEventDestination.EventDestinationProperty.getPinpointDestination()
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.this
public CfnConfigurationSetEventDestination.EventDestinationProperty.Builder snsDestination(IResolvable 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.this
public CfnConfigurationSetEventDestination.EventDestinationProperty.Builder snsDestination(CfnConfigurationSetEventDestination.SnsDestinationProperty 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.this
public CfnConfigurationSetEventDestination.EventDestinationProperty build()
CfnConfigurationSetEventDestination.EventDestinationProperty
java.lang.NullPointerException
- if any required attribute was not provided