Class CfnEmailIdentityCertificateMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ses.CfnEmailIdentityCertificateMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEmailIdentityCertificateMixinProps>
- Enclosing interface:
CfnEmailIdentityCertificateMixinProps
@Stability(Stable)
public static final class CfnEmailIdentityCertificateMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEmailIdentityCertificateMixinProps>
A builder for
CfnEmailIdentityCertificateMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.certificateArn(String certificateArn) Sets the value ofCfnEmailIdentityCertificateMixinProps.getCertificateArn()emailIdentity(String emailIdentity) Sets the value ofCfnEmailIdentityCertificateMixinProps.getEmailIdentity()fromAddress(String fromAddress) Sets the value ofCfnEmailIdentityCertificateMixinProps.getFromAddress()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certificateArn
@Stability(Stable) public CfnEmailIdentityCertificateMixinProps.Builder certificateArn(String certificateArn) Sets the value ofCfnEmailIdentityCertificateMixinProps.getCertificateArn()- Parameters:
certificateArn- The ARN of the AWS Certificate Manager certificate to associate with the sender.- Returns:
this
-
emailIdentity
@Stability(Stable) public CfnEmailIdentityCertificateMixinProps.Builder emailIdentity(String emailIdentity) Sets the value ofCfnEmailIdentityCertificateMixinProps.getEmailIdentity()- Parameters:
emailIdentity- The email identity that owns the sender the certificate is associated with.- Returns:
this
-
fromAddress
@Stability(Stable) public CfnEmailIdentityCertificateMixinProps.Builder fromAddress(String fromAddress) Sets the value ofCfnEmailIdentityCertificateMixinProps.getFromAddress()- Parameters:
fromAddress- The sender the certificate signs for. For an email address identity this is the identity itself.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEmailIdentityCertificateMixinProps>- Returns:
- a new instance of
CfnEmailIdentityCertificateMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-