Class ConfigurationSetEventDestination.Builder
java.lang.Object
software.amazon.awscdk.services.ses.ConfigurationSetEventDestination.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ConfigurationSetEventDestination>
- Enclosing class:
ConfigurationSetEventDestination
@Stability(Stable)
public static final class ConfigurationSetEventDestination.Builder
extends Object
implements software.amazon.jsii.Builder<ConfigurationSetEventDestination>
A fluent builder for
ConfigurationSetEventDestination
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
configurationSet
(IConfigurationSet configurationSet) The configuration set that contains the event destination.configurationSetEventDestinationName
(String configurationSetEventDestinationName) A name for the configuration set event destination.destination
(EventDestination destination) The event destination.Whether Amazon SES publishes events to this destination.events
(List<? extends EmailSendingEvent> events) The type of email sending events to publish to the event destination.
-
Method Details
-
create
@Stability(Stable) public static ConfigurationSetEventDestination.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
ConfigurationSetEventDestination.Builder
.
-
destination
@Stability(Stable) public ConfigurationSetEventDestination.Builder destination(EventDestination destination) The event destination.- Parameters:
destination
- The event destination. This parameter is required.- Returns:
this
-
configurationSetEventDestinationName
@Stability(Stable) public ConfigurationSetEventDestination.Builder configurationSetEventDestinationName(String configurationSetEventDestinationName) A name for the configuration set event destination.Default: - a CloudFormation generated name
- Parameters:
configurationSetEventDestinationName
- A name for the configuration set event destination. This parameter is required.- Returns:
this
-
enabled
Whether Amazon SES publishes events to this destination.Default: true
- Parameters:
enabled
- Whether Amazon SES publishes events to this destination. This parameter is required.- Returns:
this
-
events
@Stability(Stable) public ConfigurationSetEventDestination.Builder events(List<? extends EmailSendingEvent> events) The type of email sending events to publish to the event destination.Default: - send all event types
- Parameters:
events
- The type of email sending events to publish to the event destination. This parameter is required.- Returns:
this
-
configurationSet
@Stability(Stable) public ConfigurationSetEventDestination.Builder configurationSet(IConfigurationSet configurationSet) The configuration set that contains the event destination.- Parameters:
configurationSet
- The configuration set that contains the event destination. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ConfigurationSetEventDestination>
- Returns:
- a newly built instance of
ConfigurationSetEventDestination
.
-