Class CfnEmailIdentity.DkimAttributesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnEmailIdentity.DkimAttributesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEmailIdentity.DkimAttributesProperty>
- Enclosing interface:
- CfnEmailIdentity.DkimAttributesProperty
@Stability(Stable)
public static final class CfnEmailIdentity.DkimAttributesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEmailIdentity.DkimAttributesProperty>
A builder for
CfnEmailIdentity.DkimAttributesProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.signingEnabled
(Boolean signingEnabled) Sets the value ofCfnEmailIdentity.DkimAttributesProperty.getSigningEnabled()
signingEnabled
(IResolvable signingEnabled) Sets the value ofCfnEmailIdentity.DkimAttributesProperty.getSigningEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
signingEnabled
@Stability(Stable) public CfnEmailIdentity.DkimAttributesProperty.Builder signingEnabled(Boolean signingEnabled) Sets the value ofCfnEmailIdentity.DkimAttributesProperty.getSigningEnabled()
- Parameters:
signingEnabled
- Sets the DKIM signing configuration for the identity. When you set this valuetrue
, then the messages that are sent from the identity are signed using DKIM. If you set this value tofalse
, your messages are sent without DKIM signing.- Returns:
this
-
signingEnabled
@Stability(Stable) public CfnEmailIdentity.DkimAttributesProperty.Builder signingEnabled(IResolvable signingEnabled) Sets the value ofCfnEmailIdentity.DkimAttributesProperty.getSigningEnabled()
- Parameters:
signingEnabled
- Sets the DKIM signing configuration for the identity. When you set this valuetrue
, then the messages that are sent from the identity are signed using DKIM. If you set this value tofalse
, your messages are sent without DKIM signing.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEmailIdentity.DkimAttributesProperty>
- Returns:
- a new instance of
CfnEmailIdentity.DkimAttributesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-