Interface User.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<User.Builder,User>,SdkBuilder<User.Builder,User>,SdkPojo
- Enclosing class:
- User
public static interface User.Builder extends SdkPojo, CopyableBuilder<User.Builder,User>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description User.Builderaddresses(Collection<Address> addresses)A list ofAddressobjects containing addresses associated with the user.User.Builderaddresses(Consumer<Address.Builder>... addresses)A list ofAddressobjects containing addresses associated with the user.User.Builderaddresses(Address... addresses)A list ofAddressobjects containing addresses associated with the user.User.BuilderdisplayName(String displayName)A string containing the name of the user that is formatted for display when the user is referenced.User.Builderemails(Collection<Email> emails)A list ofEmailobjects containing email addresses associated with the user.User.Builderemails(Consumer<Email.Builder>... emails)A list ofEmailobjects containing email addresses associated with the user.User.Builderemails(Email... emails)A list ofEmailobjects containing email addresses associated with the user.User.BuilderexternalIds(Collection<ExternalId> externalIds)A list ofExternalIdobjects that contains the identifiers issued to this resource by an external identity provider.User.BuilderexternalIds(Consumer<ExternalId.Builder>... externalIds)A list ofExternalIdobjects that contains the identifiers issued to this resource by an external identity provider.User.BuilderexternalIds(ExternalId... externalIds)A list ofExternalIdobjects that contains the identifiers issued to this resource by an external identity provider.User.BuilderidentityStoreId(String identityStoreId)The globally unique identifier for the identity store.User.Builderlocale(String locale)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.User.Buildername(Name name)An object containing the name of the user.User.BuildernickName(String nickName)A string containing an alternate name for the user.User.BuilderphoneNumbers(Collection<PhoneNumber> phoneNumbers)A list ofPhoneNumberobjects containing phone numbers associated with the user.User.BuilderphoneNumbers(Consumer<PhoneNumber.Builder>... phoneNumbers)A list ofPhoneNumberobjects containing phone numbers associated with the user.User.BuilderphoneNumbers(PhoneNumber... phoneNumbers)A list ofPhoneNumberobjects containing phone numbers associated with the user.User.BuilderpreferredLanguage(String preferredLanguage)A string containing the preferred language of the user.User.BuilderprofileUrl(String profileUrl)A string containing a URL that might be associated with the user.User.Buildertimezone(String timezone)A string containing the time zone of the user.User.Buildertitle(String title)A string containing the title of the user.User.BuilderuserId(String userId)The identifier for a user in the identity store.User.BuilderuserName(String userName)A unique string used to identify the user.User.BuilderuserType(String userType)A string indicating the type of user.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
userName
User.Builder userName(String 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.
-
userId
User.Builder userId(String 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.
-
externalIds
User.Builder externalIds(Collection<ExternalId> 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
User.Builder externalIds(ExternalId... 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
User.Builder externalIds(Consumer<ExternalId.Builder>... 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 to#externalIds(List.) - 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:
#externalIds(java.util.Collection)
-
name
User.Builder name(Name 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
default User.Builder name(Consumer<Name.Builder> 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:
name(Name)
-
displayName
User.Builder displayName(String displayName)
A string containing the name of the user that is formatted for display when the user is referenced. For example, "John Doe."
- Parameters:
displayName- A string containing the name of the user that is formatted for display when the user is referenced. For example, "John Doe."- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nickName
User.Builder nickName(String 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
User.Builder profileUrl(String 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
User.Builder emails(Collection<Email> 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
User.Builder emails(Email... 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
User.Builder emails(Consumer<Email.Builder>... 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 to#emails(List.) - 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:
#emails(java.util.Collection)
-
addresses
User.Builder addresses(Collection<Address> 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
User.Builder addresses(Address... 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
User.Builder addresses(Consumer<Address.Builder>... 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 to#addresses(List).- 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:
#addresses(java.util.Collection)
-
phoneNumbers
User.Builder phoneNumbers(Collection<PhoneNumber> 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
User.Builder phoneNumbers(PhoneNumber... 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
User.Builder phoneNumbers(Consumer<PhoneNumber.Builder>... 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 to#phoneNumbers(List.) - 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:
#phoneNumbers(java.util.Collection)
-
userType
User.Builder userType(String 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
User.Builder title(String 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
User.Builder preferredLanguage(String 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
User.Builder locale(String 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
User.Builder timezone(String 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.
-
identityStoreId
User.Builder identityStoreId(String 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.
-
-