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