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