Class EmailIdentityCertificateReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.ses.EmailIdentityCertificateReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EmailIdentityCertificateReference>
- Enclosing interface:
EmailIdentityCertificateReference
@Stability(Stable)
public static final class EmailIdentityCertificateReference.Builder
extends Object
implements software.amazon.jsii.Builder<EmailIdentityCertificateReference>
A builder for
EmailIdentityCertificateReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.emailIdentity(String emailIdentity) Sets the value ofEmailIdentityCertificateReference.getEmailIdentity()fromAddress(String fromAddress) Sets the value ofEmailIdentityCertificateReference.getFromAddress()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
emailIdentity
@Stability(Stable) public EmailIdentityCertificateReference.Builder emailIdentity(String emailIdentity) Sets the value ofEmailIdentityCertificateReference.getEmailIdentity()- Parameters:
emailIdentity- The EmailIdentity of the EmailIdentityCertificate resource. This parameter is required.- Returns:
this
-
fromAddress
Sets the value ofEmailIdentityCertificateReference.getFromAddress()- Parameters:
fromAddress- The FromAddress of the EmailIdentityCertificate resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EmailIdentityCertificateReference>- Returns:
- a new instance of
EmailIdentityCertificateReference - Throws:
NullPointerException- if any required attribute was not provided
-