Class CfnConfigurationSetPropsMixin.SendingOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pinpointemail.CfnConfigurationSetPropsMixin.SendingOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationSetPropsMixin.SendingOptionsProperty>
- Enclosing interface:
CfnConfigurationSetPropsMixin.SendingOptionsProperty
@Stability(Stable)
public static final class CfnConfigurationSetPropsMixin.SendingOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationSetPropsMixin.SendingOptionsProperty>
A builder for
CfnConfigurationSetPropsMixin.SendingOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.sendingEnabled(Boolean sendingEnabled) Sets the value ofCfnConfigurationSetPropsMixin.SendingOptionsProperty.getSendingEnabled()sendingEnabled(IResolvable sendingEnabled) Sets the value ofCfnConfigurationSetPropsMixin.SendingOptionsProperty.getSendingEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sendingEnabled
@Stability(Stable) public CfnConfigurationSetPropsMixin.SendingOptionsProperty.Builder sendingEnabled(Boolean sendingEnabled) Sets the value ofCfnConfigurationSetPropsMixin.SendingOptionsProperty.getSendingEnabled()- Parameters:
sendingEnabled- Iftrue, email sending is enabled for the configuration set. Iffalse, email sending is disabled for the configuration set.- Returns:
this
-
sendingEnabled
@Stability(Stable) public CfnConfigurationSetPropsMixin.SendingOptionsProperty.Builder sendingEnabled(IResolvable sendingEnabled) Sets the value ofCfnConfigurationSetPropsMixin.SendingOptionsProperty.getSendingEnabled()- Parameters:
sendingEnabled- Iftrue, email sending is enabled for the configuration set. Iffalse, email sending is disabled for the configuration set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigurationSetPropsMixin.SendingOptionsProperty>- Returns:
- a new instance of
CfnConfigurationSetPropsMixin.SendingOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-