Class CfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pinpointemail.CfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty>
- Enclosing interface:
CfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty
@Stability(Stable)
public static final class CfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudWatchDestination(CfnConfigurationSetEventDestinationPropsMixin.CloudWatchDestinationProperty cloudWatchDestination) cloudWatchDestination(IResolvable cloudWatchDestination) enabled(IResolvable enabled) kinesisFirehoseDestination(CfnConfigurationSetEventDestinationPropsMixin.KinesisFirehoseDestinationProperty kinesisFirehoseDestination) kinesisFirehoseDestination(IResolvable kinesisFirehoseDestination) matchingEventTypes(List<String> matchingEventTypes) pinpointDestination(CfnConfigurationSetEventDestinationPropsMixin.PinpointDestinationProperty pinpointDestination) pinpointDestination(IResolvable pinpointDestination) snsDestination(IResolvable snsDestination)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchDestination
@Stability(Stable) public CfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.Builder cloudWatchDestination(IResolvable cloudWatchDestination) Sets the value ofCfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.getCloudWatchDestination()- Parameters:
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.- Returns:
this
-
cloudWatchDestination
@Stability(Stable) public CfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.Builder cloudWatchDestination(CfnConfigurationSetEventDestinationPropsMixin.CloudWatchDestinationProperty cloudWatchDestination) Sets the value ofCfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.getCloudWatchDestination()- Parameters:
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.- Returns:
this
-
enabled
@Stability(Stable) public CfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.Builder enabled(Boolean enabled) Sets the value ofCfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.getEnabled()- Parameters:
enabled- Iftrue, the event destination is enabled. When the event destination is enabled, the specified event types are sent to the destinations in thisEventDestinationDefinition.If
false, the event destination is disabled. When the event destination is disabled, events aren't sent to the specified destinations.- Returns:
this
-
enabled
@Stability(Stable) public CfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.getEnabled()- Parameters:
enabled- Iftrue, the event destination is enabled. When the event destination is enabled, the specified event types are sent to the destinations in thisEventDestinationDefinition.If
false, the event destination is disabled. When the event destination is disabled, events aren't sent to the specified destinations.- Returns:
this
-
kinesisFirehoseDestination
@Stability(Stable) public CfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.Builder kinesisFirehoseDestination(IResolvable kinesisFirehoseDestination) Sets the value ofCfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.getKinesisFirehoseDestination()- Parameters:
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.- Returns:
this
-
kinesisFirehoseDestination
@Stability(Stable) public CfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.Builder kinesisFirehoseDestination(CfnConfigurationSetEventDestinationPropsMixin.KinesisFirehoseDestinationProperty kinesisFirehoseDestination) Sets the value ofCfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.getKinesisFirehoseDestination()- Parameters:
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.- Returns:
this
-
matchingEventTypes
@Stability(Stable) public CfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.Builder matchingEventTypes(List<String> matchingEventTypes) Sets the value ofCfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.getMatchingEventTypes()- Parameters:
matchingEventTypes- The types of events that Amazon Pinpoint sends to the specified event destinations. Acceptable values:SEND,REJECT,BOUNCE,COMPLAINT,DELIVERY,OPEN,CLICK, andRENDERING_FAILURE.- Returns:
this
-
pinpointDestination
@Stability(Stable) public CfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.Builder pinpointDestination(IResolvable pinpointDestination) Sets the value ofCfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.getPinpointDestination()- Parameters:
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.- Returns:
this
-
pinpointDestination
@Stability(Stable) public CfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.Builder pinpointDestination(CfnConfigurationSetEventDestinationPropsMixin.PinpointDestinationProperty pinpointDestination) Sets the value ofCfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.getPinpointDestination()- Parameters:
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.- Returns:
this
-
snsDestination
@Stability(Stable) public CfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.Builder snsDestination(IResolvable snsDestination) Sets the value ofCfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.getSnsDestination()- Parameters:
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.- Returns:
this
-
snsDestination
@Stability(Stable) public CfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.Builder snsDestination(CfnConfigurationSetEventDestinationPropsMixin.SnsDestinationProperty snsDestination) Sets the value ofCfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty.getSnsDestination()- Parameters:
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.- Returns:
this
-
build
@Stability(Stable) public CfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty>- Returns:
- a new instance of
CfnConfigurationSetEventDestinationPropsMixin.EventDestinationProperty - Throws:
NullPointerException- if any required attribute was not provided
-