Interface User.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<User.Builder,,User> SdkBuilder<User.Builder,,User> SdkPojo
- Enclosing class:
User
-
Method Summary
Modifier and TypeMethodDescriptionaddresses(Collection<Address> addresses) A list ofAddressobjects containing addresses associated with the user.addresses(Consumer<Address.Builder>... addresses) A list ofAddressobjects containing addresses associated with the user.A list ofAddressobjects containing addresses associated with the user.The user's birthdate in YYYY-MM-DD format.The date and time the user was created.The identifier of the user or system that created the user.displayName(String displayName) A string containing the name of the user that is formatted for display when the user is referenced.emails(Collection<Email> emails) A list ofEmailobjects containing email addresses associated with the user.emails(Consumer<Email.Builder>... emails) A list ofEmailobjects containing email addresses associated with the user.A list ofEmailobjects containing email addresses associated with the user.externalIds(Collection<ExternalId> externalIds) A list ofExternalIdobjects that contains the identifiers issued to this resource by an external identity provider.externalIds(Consumer<ExternalId.Builder>... externalIds) A list ofExternalIdobjects that contains the identifiers issued to this resource by an external identity provider.externalIds(ExternalId... externalIds) A list ofExternalIdobjects that contains the identifiers issued to this resource by an external identity provider.identityStoreId(String identityStoreId) The globally unique identifier for the identity store.A string containing the geographical region or location of the user.default User.Buildername(Consumer<Name.Builder> name) An object containing the name of the user.An object containing the name of the user.A string containing an alternate name for the user.phoneNumbers(Collection<PhoneNumber> phoneNumbers) A list ofPhoneNumberobjects containing phone numbers associated with the user.phoneNumbers(Consumer<PhoneNumber.Builder>... phoneNumbers) A list ofPhoneNumberobjects containing phone numbers associated with the user.phoneNumbers(PhoneNumber... phoneNumbers) A list ofPhoneNumberobjects containing phone numbers associated with the user.photos(Collection<Photo> photos) A list of photos associated with the user.photos(Consumer<Photo.Builder>... photos) A list of photos associated with the user.A list of photos associated with the user.preferredLanguage(String preferredLanguage) A string containing the preferred language of the user.profileUrl(String profileUrl) A string containing a URL that might be associated with the user.A string containing the time zone of the user.A string containing the title of the user.The date and time the user was last updated.The identifier of the user or system that last updated the user.The identifier for a user in the identity store.A unique string used to identify the user.userStatus(String userStatus) The current status of the user account.userStatus(UserStatus userStatus) The current status of the user account.A string indicating the type of user.The user's personal website or blog URL.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
identityStoreId
The globally unique identifier for the identity store.
- Parameters:
identityStoreId- The globally unique identifier for the identity store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userId
The identifier for a user in the identity store.
- Parameters:
userId- The identifier for a user in the identity store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userName
A unique string used to identify the user. The length limit is 128 characters. This value can consist of letters, accented characters, symbols, numbers, and punctuation. This value is specified at the time the user is created and stored as an attribute of the user object in the identity store.
- Parameters:
userName- A unique string used to identify the user. The length limit is 128 characters. This value can consist of letters, accented characters, symbols, numbers, and punctuation. This value is specified at the time the user is created and stored as an attribute of the user object in the identity store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalIds
A list of
ExternalIdobjects that contains the identifiers issued to this resource by an external identity provider.- Parameters:
externalIds- A list ofExternalIdobjects that contains the identifiers issued to this resource by an external identity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalIds
A list of
ExternalIdobjects that contains the identifiers issued to this resource by an external identity provider.- Parameters:
externalIds- A list ofExternalIdobjects that contains the identifiers issued to this resource by an external identity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalIds
A list of
This is a convenience method that creates an instance of theExternalIdobjects that contains the identifiers issued to this resource by an external identity provider.ExternalId.Builderavoiding the need to create one manually viaExternalId.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexternalIds(List<ExternalId>).- Parameters:
externalIds- a consumer that will call methods onExternalId.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
An object containing the name of the user.
- Parameters:
name- An object containing the name of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
An object containing the name of the user.
This is a convenience method that creates an instance of theName.Builderavoiding the need to create one manually viaName.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toname(Name).- Parameters:
name- a consumer that will call methods onName.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
displayName
A string containing the name of the user that is formatted for display when the user is referenced. For example, "John Doe."
Prefix search supports a maximum of 1,000 characters for the string.
- Parameters:
displayName- A string containing the name of the user that is formatted for display when the user is referenced. For example, "John Doe."Prefix search supports a maximum of 1,000 characters for the string.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nickName
A string containing an alternate name for the user.
- Parameters:
nickName- A string containing an alternate name for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileUrl
A string containing a URL that might be associated with the user.
- Parameters:
profileUrl- A string containing a URL that might be associated with the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emails
A list of
Emailobjects containing email addresses associated with the user.- Parameters:
emails- A list ofEmailobjects containing email addresses associated with the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emails
A list of
Emailobjects containing email addresses associated with the user.- Parameters:
emails- A list ofEmailobjects containing email addresses associated with the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emails
A list of
This is a convenience method that creates an instance of theEmailobjects containing email addresses associated with the user.Email.Builderavoiding the need to create one manually viaEmail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toemails(List<Email>).- Parameters:
emails- a consumer that will call methods onEmail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
addresses
A list of
Addressobjects containing addresses associated with the user.- Parameters:
addresses- A list ofAddressobjects containing addresses associated with the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addresses
A list of
Addressobjects containing addresses associated with the user.- Parameters:
addresses- A list ofAddressobjects containing addresses associated with the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addresses
A list of
This is a convenience method that creates an instance of theAddressobjects containing addresses associated with the user.Address.Builderavoiding the need to create one manually viaAddress.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaddresses(List<Address>).- Parameters:
addresses- a consumer that will call methods onAddress.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
phoneNumbers
A list of
PhoneNumberobjects containing phone numbers associated with the user.- Parameters:
phoneNumbers- A list ofPhoneNumberobjects containing phone numbers associated with the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumbers
A list of
PhoneNumberobjects containing phone numbers associated with the user.- Parameters:
phoneNumbers- A list ofPhoneNumberobjects containing phone numbers associated with the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumbers
A list of
This is a convenience method that creates an instance of thePhoneNumberobjects containing phone numbers associated with the user.PhoneNumber.Builderavoiding the need to create one manually viaPhoneNumber.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tophoneNumbers(List<PhoneNumber>).- Parameters:
phoneNumbers- a consumer that will call methods onPhoneNumber.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userType
A string indicating the type of user. Possible values are left unspecified. The value can vary based on your specific use case.
- Parameters:
userType- A string indicating the type of user. Possible values are left unspecified. The value can vary based on your specific use case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
A string containing the title of the user. Possible values are left unspecified. The value can vary based on your specific use case.
- Parameters:
title- A string containing the title of the user. Possible values are left unspecified. The value can vary based on your specific use case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preferredLanguage
A string containing the preferred language of the user. For example, "American English" or "en-us."
- Parameters:
preferredLanguage- A string containing the preferred language of the user. For example, "American English" or "en-us."- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locale
A string containing the geographical region or location of the user.
- Parameters:
locale- A string containing the geographical region or location of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timezone
A string containing the time zone of the user.
- Parameters:
timezone- A string containing the time zone of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userStatus
The current status of the user account.
- Parameters:
userStatus- The current status of the user account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userStatus
The current status of the user account.
- Parameters:
userStatus- The current status of the user account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
photos
A list of photos associated with the user. Users can have up to 3 photos with metadata including type, display name, and primary designation.
- Parameters:
photos- A list of photos associated with the user. Users can have up to 3 photos with metadata including type, display name, and primary designation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
photos
A list of photos associated with the user. Users can have up to 3 photos with metadata including type, display name, and primary designation.
- Parameters:
photos- A list of photos associated with the user. Users can have up to 3 photos with metadata including type, display name, and primary designation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
photos
A list of photos associated with the user. Users can have up to 3 photos with metadata including type, display name, and primary designation.
This is a convenience method that creates an instance of thePhoto.Builderavoiding the need to create one manually viaPhoto.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tophotos(List<Photo>).- Parameters:
photos- a consumer that will call methods onPhoto.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
website
The user's personal website or blog URL. This field stores website information for personal or professional use.
- Parameters:
website- The user's personal website or blog URL. This field stores website information for personal or professional use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
birthdate
The user's birthdate in YYYY-MM-DD format. This field stores personal birthdate information for the user.
- Parameters:
birthdate- The user's birthdate in YYYY-MM-DD format. This field stores personal birthdate information for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The date and time the user was created.
- Parameters:
createdAt- The date and time the user was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The identifier of the user or system that created the user.
- Parameters:
createdBy- The identifier of the user or system that created the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date and time the user was last updated.
- Parameters:
updatedAt- The date and time the user was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedBy
The identifier of the user or system that last updated the user.
- Parameters:
updatedBy- The identifier of the user or system that last updated the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-