Class CfnUserPropsMixin.UserIdentityInfoProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnUserPropsMixin.UserIdentityInfoProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPropsMixin.UserIdentityInfoProperty>
- Enclosing interface:
CfnUserPropsMixin.UserIdentityInfoProperty
@Stability(Stable)
public static final class CfnUserPropsMixin.UserIdentityInfoProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPropsMixin.UserIdentityInfoProperty>
A builder for
CfnUserPropsMixin.UserIdentityInfoProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnUserPropsMixin.UserIdentityInfoProperty.getEmail()Sets the value ofCfnUserPropsMixin.UserIdentityInfoProperty.getFirstName()Sets the value ofCfnUserPropsMixin.UserIdentityInfoProperty.getLastName()Sets the value ofCfnUserPropsMixin.UserIdentityInfoProperty.getMobile()secondaryEmail(String secondaryEmail) Sets the value ofCfnUserPropsMixin.UserIdentityInfoProperty.getSecondaryEmail()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
email
Sets the value ofCfnUserPropsMixin.UserIdentityInfoProperty.getEmail()- Parameters:
email- The email address. If you are using SAML for identity management and include this parameter, an error is returned.- Returns:
this
-
firstName
@Stability(Stable) public CfnUserPropsMixin.UserIdentityInfoProperty.Builder firstName(String firstName) Sets the value ofCfnUserPropsMixin.UserIdentityInfoProperty.getFirstName()- Parameters:
firstName- The first name. This is required if you are using Amazon Connect or SAML for identity management. Inputs must be in Unicode Normalization Form C (NFC). Text containing characters in a non-NFC form (for example, decomposed characters or combining marks) are not accepted.- Returns:
this
-
lastName
@Stability(Stable) public CfnUserPropsMixin.UserIdentityInfoProperty.Builder lastName(String lastName) Sets the value ofCfnUserPropsMixin.UserIdentityInfoProperty.getLastName()- Parameters:
lastName- The last name. This is required if you are using Amazon Connect or SAML for identity management. Inputs must be in Unicode Normalization Form C (NFC). Text containing characters in a non-NFC form (for example, decomposed characters or combining marks) are not accepted.- Returns:
this
-
mobile
Sets the value ofCfnUserPropsMixin.UserIdentityInfoProperty.getMobile()- Parameters:
mobile- The user's mobile number.- Returns:
this
-
secondaryEmail
@Stability(Stable) public CfnUserPropsMixin.UserIdentityInfoProperty.Builder secondaryEmail(String secondaryEmail) Sets the value ofCfnUserPropsMixin.UserIdentityInfoProperty.getSecondaryEmail()- Parameters:
secondaryEmail- The user's secondary email address. If you provide a secondary email, the user receives email notifications -- other than password reset notifications -- to this email address instead of to their primary email address.Pattern :
(?=^.{0,265}$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPropsMixin.UserIdentityInfoProperty>- Returns:
- a new instance of
CfnUserPropsMixin.UserIdentityInfoProperty - Throws:
NullPointerException- if any required attribute was not provided
-