Class CfnUserMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.identitystore.CfnUserMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserMixinProps>
- Enclosing interface:
CfnUserMixinProps
@Stability(Stable)
public static final class CfnUserMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserMixinProps>
A builder for
CfnUserMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnUserMixinProps.getAddresses()addresses(IResolvable addresses) Sets the value ofCfnUserMixinProps.getAddresses()Sets the value ofCfnUserMixinProps.getBirthdate()build()Builds the configured instance.displayName(String displayName) Sets the value ofCfnUserMixinProps.getDisplayName()Sets the value ofCfnUserMixinProps.getEmails()emails(IResolvable emails) Sets the value ofCfnUserMixinProps.getEmails()identityStoreId(String identityStoreId) Sets the value ofCfnUserMixinProps.getIdentityStoreId()Sets the value ofCfnUserMixinProps.getLocale()Sets the value ofCfnUserMixinProps.getName()name(IResolvable name) Sets the value ofCfnUserMixinProps.getName()Sets the value ofCfnUserMixinProps.getNickName()phoneNumbers(List<? extends Object> phoneNumbers) Sets the value ofCfnUserMixinProps.getPhoneNumbers()phoneNumbers(IResolvable phoneNumbers) Sets the value ofCfnUserMixinProps.getPhoneNumbers()Sets the value ofCfnUserMixinProps.getPhotos()photos(IResolvable photos) Sets the value ofCfnUserMixinProps.getPhotos()preferredLanguage(String preferredLanguage) Sets the value ofCfnUserMixinProps.getPreferredLanguage()profileUrl(String profileUrl) Sets the value ofCfnUserMixinProps.getProfileUrl()Sets the value ofCfnUserMixinProps.getRoles()roles(IResolvable roles) Sets the value ofCfnUserMixinProps.getRoles()Sets the value ofCfnUserMixinProps.getTimezone()Sets the value ofCfnUserMixinProps.getTitle()Sets the value ofCfnUserMixinProps.getUserName()Sets the value ofCfnUserMixinProps.getUserType()Sets the value ofCfnUserMixinProps.getWebsite()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addresses
Sets the value ofCfnUserMixinProps.getAddresses()- Parameters:
addresses- A list of addresses associated with the user.- Returns:
this
-
addresses
Sets the value ofCfnUserMixinProps.getAddresses()- Parameters:
addresses- A list of addresses associated with the user.- Returns:
this
-
birthdate
Sets the value ofCfnUserMixinProps.getBirthdate()- Parameters:
birthdate- The user's birthdate in YYYY-MM-DD format.- Returns:
this
-
displayName
Sets the value ofCfnUserMixinProps.getDisplayName()- Parameters:
displayName- A string containing the name of the user for display.- Returns:
this
-
emails
Sets the value ofCfnUserMixinProps.getEmails()- Parameters:
emails- A list of email addresses associated with the user.- Returns:
this
-
emails
Sets the value ofCfnUserMixinProps.getEmails()- Parameters:
emails- A list of email addresses associated with the user.- Returns:
this
-
identityStoreId
Sets the value ofCfnUserMixinProps.getIdentityStoreId()- Parameters:
identityStoreId- The globally unique identifier for the identity store.- Returns:
this
-
locale
Sets the value ofCfnUserMixinProps.getLocale()- Parameters:
locale- The geographical region or location of the user.- Returns:
this
-
name
Sets the value ofCfnUserMixinProps.getName()- Parameters:
name- The name of the user.- Returns:
this
-
name
Sets the value ofCfnUserMixinProps.getName()- Parameters:
name- The name of the user.- Returns:
this
-
nickName
Sets the value ofCfnUserMixinProps.getNickName()- Parameters:
nickName- An alternate name for the user.- Returns:
this
-
phoneNumbers
Sets the value ofCfnUserMixinProps.getPhoneNumbers()- Parameters:
phoneNumbers- A list of phone numbers associated with the user.- Returns:
this
-
phoneNumbers
@Stability(Stable) public CfnUserMixinProps.Builder phoneNumbers(List<? extends Object> phoneNumbers) Sets the value ofCfnUserMixinProps.getPhoneNumbers()- Parameters:
phoneNumbers- A list of phone numbers associated with the user.- Returns:
this
-
photos
Sets the value ofCfnUserMixinProps.getPhotos()- Parameters:
photos- A list of photos associated with the user.- Returns:
this
-
photos
Sets the value ofCfnUserMixinProps.getPhotos()- Parameters:
photos- A list of photos associated with the user.- Returns:
this
-
preferredLanguage
Sets the value ofCfnUserMixinProps.getPreferredLanguage()- Parameters:
preferredLanguage- The preferred language of the user.- Returns:
this
-
profileUrl
Sets the value ofCfnUserMixinProps.getProfileUrl()- Parameters:
profileUrl- A URL associated with the user.- Returns:
this
-
roles
Sets the value ofCfnUserMixinProps.getRoles()- Parameters:
roles- A list of roles associated with the user.- Returns:
this
-
roles
Sets the value ofCfnUserMixinProps.getRoles()- Parameters:
roles- A list of roles associated with the user.- Returns:
this
-
timezone
Sets the value ofCfnUserMixinProps.getTimezone()- Parameters:
timezone- The time zone for the user.- Returns:
this
-
title
Sets the value ofCfnUserMixinProps.getTitle()- Parameters:
title- The title of the user.- Returns:
this
-
userName
Sets the value ofCfnUserMixinProps.getUserName()- Parameters:
userName- A unique string used to identify the user.- Returns:
this
-
userType
Sets the value ofCfnUserMixinProps.getUserType()- Parameters:
userType- A string indicating the type of user.- Returns:
this
-
website
Sets the value ofCfnUserMixinProps.getWebsite()- Parameters:
website- The user's personal website or blog URL.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserMixinProps>- Returns:
- a new instance of
CfnUserMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-