@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateUserRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateUserRequest() |
Modifier and Type | Method and Description |
---|---|
CreateUserRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Address> |
getAddresses()
A list of
Address objects containing addresses associated with the user. |
String |
getDisplayName()
A string containing the user's name.
|
List<Email> |
getEmails()
A list of
Email objects containing email addresses associated with the user. |
String |
getIdentityStoreId()
The globally unique identifier for the identity store.
|
String |
getLocale()
A string containing the user's geographical region or location.
|
Name |
getName()
An object containing the user's name.
|
String |
getNickName()
A string containing an alternate name for the user.
|
List<PhoneNumber> |
getPhoneNumbers()
A list of
PhoneNumber objects containing phone numbers associated with the user. |
String |
getPreferredLanguage()
A string containing the preferred language of the user.
|
String |
getProfileUrl()
A string containing a URL that may be associated with the user.
|
String |
getTimezone()
A string containing the user's time zone.
|
String |
getTitle()
A string containing the user's title.
|
String |
getUserName()
A unique string used to identify the user.
|
String |
getUserType()
A string indicating the user's type.
|
int |
hashCode() |
void |
setAddresses(Collection<Address> addresses)
A list of
Address objects containing addresses associated with the user. |
void |
setDisplayName(String displayName)
A string containing the user's name.
|
void |
setEmails(Collection<Email> emails)
A list of
Email objects containing email addresses associated with the user. |
void |
setIdentityStoreId(String identityStoreId)
The globally unique identifier for the identity store.
|
void |
setLocale(String locale)
A string containing the user's geographical region or location.
|
void |
setName(Name name)
An object containing the user's name.
|
void |
setNickName(String nickName)
A string containing an alternate name for the user.
|
void |
setPhoneNumbers(Collection<PhoneNumber> phoneNumbers)
A list of
PhoneNumber objects containing phone numbers associated with the user. |
void |
setPreferredLanguage(String preferredLanguage)
A string containing the preferred language of the user.
|
void |
setProfileUrl(String profileUrl)
A string containing a URL that may be associated with the user.
|
void |
setTimezone(String timezone)
A string containing the user's time zone.
|
void |
setTitle(String title)
A string containing the user's title.
|
void |
setUserName(String userName)
A unique string used to identify the user.
|
void |
setUserType(String userType)
A string indicating the user's type.
|
String |
toString()
Returns a string representation of this object.
|
CreateUserRequest |
withAddresses(Address... addresses)
A list of
Address objects containing addresses associated with the user. |
CreateUserRequest |
withAddresses(Collection<Address> addresses)
A list of
Address objects containing addresses associated with the user. |
CreateUserRequest |
withDisplayName(String displayName)
A string containing the user's name.
|
CreateUserRequest |
withEmails(Collection<Email> emails)
A list of
Email objects containing email addresses associated with the user. |
CreateUserRequest |
withEmails(Email... emails)
A list of
Email objects containing email addresses associated with the user. |
CreateUserRequest |
withIdentityStoreId(String identityStoreId)
The globally unique identifier for the identity store.
|
CreateUserRequest |
withLocale(String locale)
A string containing the user's geographical region or location.
|
CreateUserRequest |
withName(Name name)
An object containing the user's name.
|
CreateUserRequest |
withNickName(String nickName)
A string containing an alternate name for the user.
|
CreateUserRequest |
withPhoneNumbers(Collection<PhoneNumber> phoneNumbers)
A list of
PhoneNumber objects containing phone numbers associated with the user. |
CreateUserRequest |
withPhoneNumbers(PhoneNumber... phoneNumbers)
A list of
PhoneNumber objects containing phone numbers associated with the user. |
CreateUserRequest |
withPreferredLanguage(String preferredLanguage)
A string containing the preferred language of the user.
|
CreateUserRequest |
withProfileUrl(String profileUrl)
A string containing a URL that may be associated with the user.
|
CreateUserRequest |
withTimezone(String timezone)
A string containing the user's time zone.
|
CreateUserRequest |
withTitle(String title)
A string containing the user's title.
|
CreateUserRequest |
withUserName(String userName)
A unique string used to identify the user.
|
CreateUserRequest |
withUserType(String userType)
A string indicating the user's type.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setIdentityStoreId(String identityStoreId)
The globally unique identifier for the identity store.
identityStoreId
- The globally unique identifier for the identity store.public String getIdentityStoreId()
The globally unique identifier for the identity store.
public CreateUserRequest withIdentityStoreId(String identityStoreId)
The globally unique identifier for the identity store.
identityStoreId
- The globally unique identifier for the identity store.public void setUserName(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.
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.public String getUserName()
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.
public CreateUserRequest withUserName(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.
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.public void setName(Name name)
An object containing the user's name.
name
- An object containing the user's name.public Name getName()
An object containing the user's name.
public CreateUserRequest withName(Name name)
An object containing the user's name.
name
- An object containing the user's name.public void setDisplayName(String displayName)
A string containing the user's name. This value is typically formatted for display when the user is referenced. For example, "John Doe."
displayName
- A string containing the user's name. This value is typically formatted for display when the user is
referenced. For example, "John Doe."public String getDisplayName()
A string containing the user's name. This value is typically formatted for display when the user is referenced. For example, "John Doe."
public CreateUserRequest withDisplayName(String displayName)
A string containing the user's name. This value is typically formatted for display when the user is referenced. For example, "John Doe."
displayName
- A string containing the user's name. This value is typically formatted for display when the user is
referenced. For example, "John Doe."public void setNickName(String nickName)
A string containing an alternate name for the user.
nickName
- A string containing an alternate name for the user.public String getNickName()
A string containing an alternate name for the user.
public CreateUserRequest withNickName(String nickName)
A string containing an alternate name for the user.
nickName
- A string containing an alternate name for the user.public void setProfileUrl(String profileUrl)
A string containing a URL that may be associated with the user.
profileUrl
- A string containing a URL that may be associated with the user.public String getProfileUrl()
A string containing a URL that may be associated with the user.
public CreateUserRequest withProfileUrl(String profileUrl)
A string containing a URL that may be associated with the user.
profileUrl
- A string containing a URL that may be associated with the user.public List<Email> getEmails()
A list of Email
objects containing email addresses associated with the user.
Email
objects containing email addresses associated with the user.public void setEmails(Collection<Email> emails)
A list of Email
objects containing email addresses associated with the user.
emails
- A list of Email
objects containing email addresses associated with the user.public CreateUserRequest withEmails(Email... emails)
A list of Email
objects containing email addresses associated with the user.
NOTE: This method appends the values to the existing list (if any). Use
setEmails(java.util.Collection)
or withEmails(java.util.Collection)
if you want to override the
existing values.
emails
- A list of Email
objects containing email addresses associated with the user.public CreateUserRequest withEmails(Collection<Email> emails)
A list of Email
objects containing email addresses associated with the user.
emails
- A list of Email
objects containing email addresses associated with the user.public List<Address> getAddresses()
A list of Address
objects containing addresses associated with the user.
Address
objects containing addresses associated with the user.public void setAddresses(Collection<Address> addresses)
A list of Address
objects containing addresses associated with the user.
addresses
- A list of Address
objects containing addresses associated with the user.public CreateUserRequest withAddresses(Address... addresses)
A list of Address
objects containing addresses associated with the user.
NOTE: This method appends the values to the existing list (if any). Use
setAddresses(java.util.Collection)
or withAddresses(java.util.Collection)
if you want to
override the existing values.
addresses
- A list of Address
objects containing addresses associated with the user.public CreateUserRequest withAddresses(Collection<Address> addresses)
A list of Address
objects containing addresses associated with the user.
addresses
- A list of Address
objects containing addresses associated with the user.public List<PhoneNumber> getPhoneNumbers()
A list of PhoneNumber
objects containing phone numbers associated with the user.
PhoneNumber
objects containing phone numbers associated with the user.public void setPhoneNumbers(Collection<PhoneNumber> phoneNumbers)
A list of PhoneNumber
objects containing phone numbers associated with the user.
phoneNumbers
- A list of PhoneNumber
objects containing phone numbers associated with the user.public CreateUserRequest withPhoneNumbers(PhoneNumber... phoneNumbers)
A list of PhoneNumber
objects containing phone numbers associated with the user.
NOTE: This method appends the values to the existing list (if any). Use
setPhoneNumbers(java.util.Collection)
or withPhoneNumbers(java.util.Collection)
if you want to
override the existing values.
phoneNumbers
- A list of PhoneNumber
objects containing phone numbers associated with the user.public CreateUserRequest withPhoneNumbers(Collection<PhoneNumber> phoneNumbers)
A list of PhoneNumber
objects containing phone numbers associated with the user.
phoneNumbers
- A list of PhoneNumber
objects containing phone numbers associated with the user.public void setUserType(String userType)
A string indicating the user's type. Possible values depend on each customer's specific needs, so they are left unspecified.
userType
- A string indicating the user's type. Possible values depend on each customer's specific needs, so they are
left unspecified.public String getUserType()
A string indicating the user's type. Possible values depend on each customer's specific needs, so they are left unspecified.
public CreateUserRequest withUserType(String userType)
A string indicating the user's type. Possible values depend on each customer's specific needs, so they are left unspecified.
userType
- A string indicating the user's type. Possible values depend on each customer's specific needs, so they are
left unspecified.public void setTitle(String title)
A string containing the user's title. Possible values are left unspecified given that they depend on each customer's specific needs.
title
- A string containing the user's title. Possible values are left unspecified given that they depend on each
customer's specific needs.public String getTitle()
A string containing the user's title. Possible values are left unspecified given that they depend on each customer's specific needs.
public CreateUserRequest withTitle(String title)
A string containing the user's title. Possible values are left unspecified given that they depend on each customer's specific needs.
title
- A string containing the user's title. Possible values are left unspecified given that they depend on each
customer's specific needs.public void setPreferredLanguage(String preferredLanguage)
A string containing the preferred language of the user. For example, "American English" or "en-us."
preferredLanguage
- A string containing the preferred language of the user. For example, "American English" or "en-us."public String getPreferredLanguage()
A string containing the preferred language of the user. For example, "American English" or "en-us."
public CreateUserRequest withPreferredLanguage(String preferredLanguage)
A string containing the preferred language of the user. For example, "American English" or "en-us."
preferredLanguage
- A string containing the preferred language of the user. For example, "American English" or "en-us."public void setLocale(String locale)
A string containing the user's geographical region or location.
locale
- A string containing the user's geographical region or location.public String getLocale()
A string containing the user's geographical region or location.
public CreateUserRequest withLocale(String locale)
A string containing the user's geographical region or location.
locale
- A string containing the user's geographical region or location.public void setTimezone(String timezone)
A string containing the user's time zone.
timezone
- A string containing the user's time zone.public String getTimezone()
A string containing the user's time zone.
public CreateUserRequest withTimezone(String timezone)
A string containing the user's time zone.
timezone
- A string containing the user's time zone.public String toString()
toString
in class Object
Object.toString()
public CreateUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()