Class ConfigurationSetEventDestinationProps.Builder
java.lang.Object
software.amazon.awscdk.services.ses.ConfigurationSetEventDestinationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ConfigurationSetEventDestinationProps>
- Enclosing interface:
ConfigurationSetEventDestinationProps
@Stability(Stable)
public static final class ConfigurationSetEventDestinationProps.Builder
extends Object
implements software.amazon.jsii.Builder<ConfigurationSetEventDestinationProps>
A builder for
ConfigurationSetEventDestinationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.configurationSet
(IConfigurationSet configurationSet) Sets the value ofConfigurationSetEventDestinationProps.getConfigurationSet()
configurationSetEventDestinationName
(String configurationSetEventDestinationName) destination
(EventDestination destination) Sets the value ofConfigurationSetEventDestinationOptions.getDestination()
Sets the value ofConfigurationSetEventDestinationOptions.getEnabled()
events
(List<? extends EmailSendingEvent> events) Sets the value ofConfigurationSetEventDestinationOptions.getEvents()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configurationSet
@Stability(Stable) public ConfigurationSetEventDestinationProps.Builder configurationSet(IConfigurationSet configurationSet) Sets the value ofConfigurationSetEventDestinationProps.getConfigurationSet()
- Parameters:
configurationSet
- The configuration set that contains the event destination. This parameter is required.- Returns:
this
-
destination
@Stability(Stable) public ConfigurationSetEventDestinationProps.Builder destination(EventDestination destination) Sets the value ofConfigurationSetEventDestinationOptions.getDestination()
- Parameters:
destination
- The event destination. This parameter is required.- Returns:
this
-
configurationSetEventDestinationName
@Stability(Stable) public ConfigurationSetEventDestinationProps.Builder configurationSetEventDestinationName(String configurationSetEventDestinationName) - Parameters:
configurationSetEventDestinationName
- A name for the configuration set event destination.- Returns:
this
-
enabled
Sets the value ofConfigurationSetEventDestinationOptions.getEnabled()
- Parameters:
enabled
- Whether Amazon SES publishes events to this destination.- Returns:
this
-
events
@Stability(Stable) public ConfigurationSetEventDestinationProps.Builder events(List<? extends EmailSendingEvent> events) Sets the value ofConfigurationSetEventDestinationOptions.getEvents()
- Parameters:
events
- The type of email sending events to publish to the event destination.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ConfigurationSetEventDestinationProps>
- Returns:
- a new instance of
ConfigurationSetEventDestinationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-