Class CfnConfigurationSetEventDestinationProps.Builder
java.lang.Object
software.amazon.awscdk.services.pinpointemail.CfnConfigurationSetEventDestinationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationSetEventDestinationProps>
- Enclosing interface:
CfnConfigurationSetEventDestinationProps
@Stability(Stable)
public static final class CfnConfigurationSetEventDestinationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationSetEventDestinationProps>
A builder for
CfnConfigurationSetEventDestinationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configurationSetName(String configurationSetName) Sets the value ofCfnConfigurationSetEventDestinationProps.getConfigurationSetName()eventDestination(IResolvable eventDestination) Sets the value ofCfnConfigurationSetEventDestinationProps.getEventDestination()eventDestination(CfnConfigurationSetEventDestination.EventDestinationProperty eventDestination) Sets the value ofCfnConfigurationSetEventDestinationProps.getEventDestination()eventDestinationName(String eventDestinationName) Sets the value ofCfnConfigurationSetEventDestinationProps.getEventDestinationName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configurationSetName
@Stability(Stable) public CfnConfigurationSetEventDestinationProps.Builder configurationSetName(String configurationSetName) Sets the value ofCfnConfigurationSetEventDestinationProps.getConfigurationSetName()- Parameters:
configurationSetName- The name of the configuration set that contains the event destination that you want to modify. This parameter is required.- Returns:
this
-
eventDestinationName
@Stability(Stable) public CfnConfigurationSetEventDestinationProps.Builder eventDestinationName(String eventDestinationName) Sets the value ofCfnConfigurationSetEventDestinationProps.getEventDestinationName()- Parameters:
eventDestinationName- The name of the event destination that you want to modify. This parameter is required.- Returns:
this
-
eventDestination
@Stability(Stable) public CfnConfigurationSetEventDestinationProps.Builder eventDestination(IResolvable eventDestination) Sets the value ofCfnConfigurationSetEventDestinationProps.getEventDestination()- Parameters:
eventDestination- An object that defines the event destination.- Returns:
this
-
eventDestination
@Stability(Stable) public CfnConfigurationSetEventDestinationProps.Builder eventDestination(CfnConfigurationSetEventDestination.EventDestinationProperty eventDestination) Sets the value ofCfnConfigurationSetEventDestinationProps.getEventDestination()- Parameters:
eventDestination- An object that defines the event destination.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigurationSetEventDestinationProps>- Returns:
- a new instance of
CfnConfigurationSetEventDestinationProps - Throws:
NullPointerException- if any required attribute was not provided
-