Class CfnEmailAddressMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnEmailAddressMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEmailAddressMixinProps>
- Enclosing interface:
CfnEmailAddressMixinProps
@Stability(Stable)
public static final class CfnEmailAddressMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEmailAddressMixinProps>
A builder for
CfnEmailAddressMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaliasConfigurations(List<? extends Object> aliasConfigurations) Sets the value ofCfnEmailAddressMixinProps.getAliasConfigurations()aliasConfigurations(IResolvable aliasConfigurations) Sets the value ofCfnEmailAddressMixinProps.getAliasConfigurations()build()Builds the configured instance.description(String description) Sets the value ofCfnEmailAddressMixinProps.getDescription()displayName(String displayName) Sets the value ofCfnEmailAddressMixinProps.getDisplayName()emailAddress(String emailAddress) Sets the value ofCfnEmailAddressMixinProps.getEmailAddress()instanceArn(String instanceArn) Sets the value ofCfnEmailAddressMixinProps.getInstanceArn()Sets the value ofCfnEmailAddressMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aliasConfigurations
@Stability(Stable) public CfnEmailAddressMixinProps.Builder aliasConfigurations(IResolvable aliasConfigurations) Sets the value ofCfnEmailAddressMixinProps.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 CfnEmailAddressMixinProps.Builder aliasConfigurations(List<? extends Object> aliasConfigurations) Sets the value ofCfnEmailAddressMixinProps.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 ofCfnEmailAddressMixinProps.getDescription()- Parameters:
description- The description of the email address.- Returns:
this
-
displayName
Sets the value ofCfnEmailAddressMixinProps.getDisplayName()- Parameters:
displayName- The display name of email address.- Returns:
this
-
emailAddress
Sets the value ofCfnEmailAddressMixinProps.getEmailAddress()- Parameters:
emailAddress- The email address, including the domain.- Returns:
this
-
instanceArn
Sets the value ofCfnEmailAddressMixinProps.getInstanceArn()- Parameters:
instanceArn- The Amazon Resource Name (ARN) of the instance.- Returns:
this
-
tags
Sets the value ofCfnEmailAddressMixinProps.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<CfnEmailAddressMixinProps>- Returns:
- a new instance of
CfnEmailAddressMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-