Class ConfigurationSetEventDestinationOptions.Builder
java.lang.Object
software.amazon.awscdk.services.ses.ConfigurationSetEventDestinationOptions.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<ConfigurationSetEventDestinationOptions>
- Enclosing interface:
 ConfigurationSetEventDestinationOptions
@Stability(Stable)
public static final class ConfigurationSetEventDestinationOptions.Builder
extends Object
implements software.amazon.jsii.Builder<ConfigurationSetEventDestinationOptions>
A builder for 
ConfigurationSetEventDestinationOptions- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.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
- 
destination
@Stability(Stable) public ConfigurationSetEventDestinationOptions.Builder destination(EventDestination destination) Sets the value ofConfigurationSetEventDestinationOptions.getDestination()- Parameters:
 destination- The event destination. This parameter is required.- Returns:
 this
 - 
configurationSetEventDestinationName
@Stability(Stable) public ConfigurationSetEventDestinationOptions.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 ConfigurationSetEventDestinationOptions.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:
 buildin interfacesoftware.amazon.jsii.Builder<ConfigurationSetEventDestinationOptions>- Returns:
 - a new instance of 
ConfigurationSetEventDestinationOptions - Throws:
 NullPointerException- if any required attribute was not provided
 
 -