@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 name of the user.
|
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 geographical region or location of the user.
|
Name |
getName()
An object containing the name of the user.
|
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 might be associated with the user.
|
String |
getTimezone()
A string containing the time zone of the user.
|
String |
getTitle()
A string containing the title of the user.
|
String |
getUserName()
A unique string used to identify the user.
|
String |
getUserType()
A string indicating the type of user.
|
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 name of the user.
|
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 geographical region or location of the user.
|
void |
setName(Name name)
An object containing the name of the user.
|
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 might be associated with the user.
|
void |
setTimezone(String timezone)
A string containing the time zone of the user.
|
void |
setTitle(String title)
A string containing the title of the user.
|
void |
setUserName(String userName)
A unique string used to identify the user.
|
void |
setUserType(String userType)
A string indicating the type of user.
|
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 name of the user.
|
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 geographical region or location of the user.
|
CreateUserRequest |
withName(Name name)
An object containing the name of the user.
|
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 might be associated with the user.
|
CreateUserRequest |
withTimezone(String timezone)
A string containing the time zone of the user.
|
CreateUserRequest |
withTitle(String title)
A string containing the title of the user.
|
CreateUserRequest |
withUserName(String userName)
A unique string used to identify the user.
|
CreateUserRequest |
withUserType(String userType)
A string indicating the type of user.
|
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. Administrator
and
AWSAdministrators
are reserved names and can't be used for users or groups.
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.
Administrator
and AWSAdministrators
are reserved names and can't be used for
users or groups.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. Administrator
and
AWSAdministrators
are reserved names and can't be used for users or groups.
Administrator
and AWSAdministrators
are reserved names and can't be used for
users or groups.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. Administrator
and
AWSAdministrators
are reserved names and can't be used for users or groups.
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.
Administrator
and AWSAdministrators
are reserved names and can't be used for
users or groups.public void setName(Name name)
An object containing the name of the user.
name
- An object containing the name of the user.public Name getName()
An object containing the name of the user.
public CreateUserRequest withName(Name name)
An object containing the name of the user.
name
- An object containing the name of the user.public void setDisplayName(String displayName)
A string containing the name of the user. This value is typically formatted for display when the user is referenced. For example, "John Doe."
displayName
- A string containing the name of the user. This value is typically formatted for display when the user is
referenced. For example, "John Doe."public String getDisplayName()
A string containing the name of the user. 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 name of the user. This value is typically formatted for display when the user is referenced. For example, "John Doe."
displayName
- A string containing the name of the user. 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 might be associated with the user.
profileUrl
- A string containing a URL that might be associated with the user.public String getProfileUrl()
A string containing a URL that might be associated with the user.
public CreateUserRequest withProfileUrl(String profileUrl)
A string containing a URL that might be associated with the user.
profileUrl
- A string containing a URL that might 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 type of user. Possible values are left unspecified. The value can vary based on your specific use case.
userType
- A string indicating the type of user. Possible values are left unspecified. The value can vary based on
your specific use case.public String getUserType()
A string indicating the type of user. Possible values are left unspecified. The value can vary based on your specific use case.
public CreateUserRequest withUserType(String userType)
A string indicating the type of user. Possible values are left unspecified. The value can vary based on your specific use case.
userType
- A string indicating the type of user. Possible values are left unspecified. The value can vary based on
your specific use case.public void setTitle(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.
title
- A string containing the title of the user. Possible values are left unspecified. The value can vary based
on your specific use case.public String getTitle()
A string containing the title of the user. Possible values are left unspecified. The value can vary based on your specific use case.
public CreateUserRequest withTitle(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.
title
- A string containing the title of the user. Possible values are left unspecified. The value can vary based
on your specific use case.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 geographical region or location of the user.
locale
- A string containing the geographical region or location of the user.public String getLocale()
A string containing the geographical region or location of the user.
public CreateUserRequest withLocale(String locale)
A string containing the geographical region or location of the user.
locale
- A string containing the geographical region or location of the user.public void setTimezone(String timezone)
A string containing the time zone of the user.
timezone
- A string containing the time zone of the user.public String getTimezone()
A string containing the time zone of the user.
public CreateUserRequest withTimezone(String timezone)
A string containing the time zone of the user.
timezone
- A string containing the time zone of the user.public String toString()
toString
in class Object
Object.toString()
public CreateUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()