Class CfnEmailAddressProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnEmailAddressProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEmailAddressProps>
- Enclosing interface:
CfnEmailAddressProps
@Stability(Stable)
public static final class CfnEmailAddressProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEmailAddressProps>
A builder for
CfnEmailAddressProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnEmailAddressProps.getDescription()displayName(String displayName) Sets the value ofCfnEmailAddressProps.getDisplayName()emailAddress(String emailAddress) Sets the value ofCfnEmailAddressProps.getEmailAddress()instanceArn(String instanceArn) Sets the value ofCfnEmailAddressProps.getInstanceArn()Sets the value ofCfnEmailAddressProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
emailAddress
Sets the value ofCfnEmailAddressProps.getEmailAddress()- Parameters:
emailAddress- Email address to be created for this instance. This parameter is required.- Returns:
this
-
instanceArn
Sets the value ofCfnEmailAddressProps.getInstanceArn()- Parameters:
instanceArn- The identifier of the Amazon Connect instance. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnEmailAddressProps.getDescription()- Parameters:
description- A description for the email address.- Returns:
this
-
displayName
Sets the value ofCfnEmailAddressProps.getDisplayName()- Parameters:
displayName- The display name for the email address.- Returns:
this
-
tags
Sets the value ofCfnEmailAddressProps.getTags()- Parameters:
tags- One or more tags.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEmailAddressProps>- Returns:
- a new instance of
CfnEmailAddressProps - Throws:
NullPointerException- if any required attribute was not provided
-