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 TypeMethodDescriptionaliasConfigurations(List<? extends Object> aliasConfigurations) Sets the value ofCfnEmailAddressProps.getAliasConfigurations()aliasConfigurations(IResolvable aliasConfigurations) Sets the value ofCfnEmailAddressProps.getAliasConfigurations()build()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- The email address, including the domain. This parameter is required.- Returns:
this
-
instanceArn
Sets the value ofCfnEmailAddressProps.getInstanceArn()- Parameters:
instanceArn- The Amazon Resource Name (ARN) of the instance. This parameter is required.- Returns:
this
-
aliasConfigurations
@Stability(Stable) public CfnEmailAddressProps.Builder aliasConfigurations(IResolvable aliasConfigurations) Sets the value ofCfnEmailAddressProps.getAliasConfigurations()- Parameters:
aliasConfigurations- A list of alias configurations for this email address, showing which email addresses forward to this primary address. Each configuration contains the email address ID of an alias that forwards emails to this address.- Returns:
this
-
aliasConfigurations
@Stability(Stable) public CfnEmailAddressProps.Builder aliasConfigurations(List<? extends Object> aliasConfigurations) Sets the value ofCfnEmailAddressProps.getAliasConfigurations()- Parameters:
aliasConfigurations- A list of alias configurations for this email address, showing which email addresses forward to this primary address. Each configuration contains the email address ID of an alias that forwards emails to this address.- Returns:
this
-
description
Sets the value ofCfnEmailAddressProps.getDescription()- Parameters:
description- The description of the email address.- Returns:
this
-
displayName
Sets the value ofCfnEmailAddressProps.getDisplayName()- Parameters:
displayName- The display name of email address.- Returns:
this
-
tags
Sets the value ofCfnEmailAddressProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- 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
-