@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeUserResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeUserResult() |
Modifier and Type | Method and Description |
---|---|
DescribeUserResult |
clone() |
boolean |
equals(Object obj) |
List<Address> |
getAddresses()
The user's physical address.
|
String |
getDisplayName()
The user's name value for display.
|
List<Email> |
getEmails()
The user's email value.
|
List<ExternalId> |
getExternalIds()
A list of
ExternalId objects that contains the identifiers issued to this resource by an external
identity provider. |
String |
getIdentityStoreId()
The globally unique identifier for the identity store.
|
String |
getLocale()
A string containing the user's geographical region or location.
|
Name |
getName()
The name of the user.
|
String |
getNickName()
An alternative descriptive name for the user.
|
List<PhoneNumber> |
getPhoneNumbers()
A list of
PhoneNumber objects associated with a user. |
String |
getPreferredLanguage()
The preferred language of the user.
|
String |
getProfileUrl()
A URL link for the user's profile.
|
String |
getTimezone()
The time zone for a user.
|
String |
getTitle()
A string containing the user's title.
|
String |
getUserId()
The identifier for a user in the identity store.
|
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)
The user's physical address.
|
void |
setDisplayName(String displayName)
The user's name value for display.
|
void |
setEmails(Collection<Email> emails)
The user's email value.
|
void |
setExternalIds(Collection<ExternalId> externalIds)
A list of
ExternalId objects that contains the identifiers issued to this resource by an external
identity provider. |
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)
The name of the user.
|
void |
setNickName(String nickName)
An alternative descriptive name for the user.
|
void |
setPhoneNumbers(Collection<PhoneNumber> phoneNumbers)
A list of
PhoneNumber objects associated with a user. |
void |
setPreferredLanguage(String preferredLanguage)
The preferred language of the user.
|
void |
setProfileUrl(String profileUrl)
A URL link for the user's profile.
|
void |
setTimezone(String timezone)
The time zone for a user.
|
void |
setTitle(String title)
A string containing the user's title.
|
void |
setUserId(String userId)
The identifier for a user in the identity store.
|
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.
|
DescribeUserResult |
withAddresses(Address... addresses)
The user's physical address.
|
DescribeUserResult |
withAddresses(Collection<Address> addresses)
The user's physical address.
|
DescribeUserResult |
withDisplayName(String displayName)
The user's name value for display.
|
DescribeUserResult |
withEmails(Collection<Email> emails)
The user's email value.
|
DescribeUserResult |
withEmails(Email... emails)
The user's email value.
|
DescribeUserResult |
withExternalIds(Collection<ExternalId> externalIds)
A list of
ExternalId objects that contains the identifiers issued to this resource by an external
identity provider. |
DescribeUserResult |
withExternalIds(ExternalId... externalIds)
A list of
ExternalId objects that contains the identifiers issued to this resource by an external
identity provider. |
DescribeUserResult |
withIdentityStoreId(String identityStoreId)
The globally unique identifier for the identity store.
|
DescribeUserResult |
withLocale(String locale)
A string containing the user's geographical region or location.
|
DescribeUserResult |
withName(Name name)
The name of the user.
|
DescribeUserResult |
withNickName(String nickName)
An alternative descriptive name for the user.
|
DescribeUserResult |
withPhoneNumbers(Collection<PhoneNumber> phoneNumbers)
A list of
PhoneNumber objects associated with a user. |
DescribeUserResult |
withPhoneNumbers(PhoneNumber... phoneNumbers)
A list of
PhoneNumber objects associated with a user. |
DescribeUserResult |
withPreferredLanguage(String preferredLanguage)
The preferred language of the user.
|
DescribeUserResult |
withProfileUrl(String profileUrl)
A URL link for the user's profile.
|
DescribeUserResult |
withTimezone(String timezone)
The time zone for a user.
|
DescribeUserResult |
withTitle(String title)
A string containing the user's title.
|
DescribeUserResult |
withUserId(String userId)
The identifier for a user in the identity store.
|
DescribeUserResult |
withUserName(String userName)
A unique string used to identify the user.
|
DescribeUserResult |
withUserType(String userType)
A string indicating the user's type.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 DescribeUserResult 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 setUserId(String userId)
The identifier for a user in the identity store.
userId
- The identifier for a user in the identity store.public String getUserId()
The identifier for a user in the identity store.
public DescribeUserResult withUserId(String userId)
The identifier for a user in the identity store.
userId
- The identifier for a user in the identity store.public List<ExternalId> getExternalIds()
A list of ExternalId
objects that contains the identifiers issued to this resource by an external
identity provider.
ExternalId
objects that contains the identifiers issued to this resource by an
external identity provider.public void setExternalIds(Collection<ExternalId> externalIds)
A list of ExternalId
objects that contains the identifiers issued to this resource by an external
identity provider.
externalIds
- A list of ExternalId
objects that contains the identifiers issued to this resource by an
external identity provider.public DescribeUserResult withExternalIds(ExternalId... externalIds)
A list of ExternalId
objects that contains the identifiers issued to this resource by an external
identity provider.
NOTE: This method appends the values to the existing list (if any). Use
setExternalIds(java.util.Collection)
or withExternalIds(java.util.Collection)
if you want to
override the existing values.
externalIds
- A list of ExternalId
objects that contains the identifiers issued to this resource by an
external identity provider.public DescribeUserResult withExternalIds(Collection<ExternalId> externalIds)
A list of ExternalId
objects that contains the identifiers issued to this resource by an external
identity provider.
externalIds
- A list of ExternalId
objects that contains the identifiers issued to this resource by an
external identity provider.public void setName(Name name)
The name of the user.
name
- The name of the user.public Name getName()
The name of the user.
public DescribeUserResult withName(Name name)
The name of the user.
name
- The name of the user.public void setDisplayName(String displayName)
The user's name value for display.
displayName
- The user's name value for display.public String getDisplayName()
The user's name value for display.
public DescribeUserResult withDisplayName(String displayName)
The user's name value for display.
displayName
- The user's name value for display.public void setNickName(String nickName)
An alternative descriptive name for the user.
nickName
- An alternative descriptive name for the user.public String getNickName()
An alternative descriptive name for the user.
public DescribeUserResult withNickName(String nickName)
An alternative descriptive name for the user.
nickName
- An alternative descriptive name for the user.public void setProfileUrl(String profileUrl)
A URL link for the user's profile.
profileUrl
- A URL link for the user's profile.public String getProfileUrl()
A URL link for the user's profile.
public DescribeUserResult withProfileUrl(String profileUrl)
A URL link for the user's profile.
profileUrl
- A URL link for the user's profile.public void setEmails(Collection<Email> emails)
The user's email value.
emails
- The user's email value.public DescribeUserResult withEmails(Email... emails)
The user's email value.
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
- The user's email value.public DescribeUserResult withEmails(Collection<Email> emails)
The user's email value.
emails
- The user's email value.public List<Address> getAddresses()
The user's physical address.
public void setAddresses(Collection<Address> addresses)
The user's physical address.
addresses
- The user's physical address.public DescribeUserResult withAddresses(Address... addresses)
The user's physical address.
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
- The user's physical address.public DescribeUserResult withAddresses(Collection<Address> addresses)
The user's physical address.
addresses
- The user's physical address.public List<PhoneNumber> getPhoneNumbers()
A list of PhoneNumber
objects associated with a user.
PhoneNumber
objects associated with a user.public void setPhoneNumbers(Collection<PhoneNumber> phoneNumbers)
A list of PhoneNumber
objects associated with a user.
phoneNumbers
- A list of PhoneNumber
objects associated with a user.public DescribeUserResult withPhoneNumbers(PhoneNumber... phoneNumbers)
A list of PhoneNumber
objects associated with a 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 associated with a user.public DescribeUserResult withPhoneNumbers(Collection<PhoneNumber> phoneNumbers)
A list of PhoneNumber
objects associated with a user.
phoneNumbers
- A list of PhoneNumber
objects associated with a user.public void setUserType(String userType)
A string indicating the user's type.
userType
- A string indicating the user's type.public String getUserType()
A string indicating the user's type.
public DescribeUserResult withUserType(String userType)
A string indicating the user's type.
userType
- A string indicating the user's type.public void setTitle(String title)
A string containing the user's title.
title
- A string containing the user's title.public String getTitle()
A string containing the user's title.
public DescribeUserResult withTitle(String title)
A string containing the user's title.
title
- A string containing the user's title.public void setPreferredLanguage(String preferredLanguage)
The preferred language of the user.
preferredLanguage
- The preferred language of the user.public String getPreferredLanguage()
The preferred language of the user.
public DescribeUserResult withPreferredLanguage(String preferredLanguage)
The preferred language of the user.
preferredLanguage
- The preferred language of the user.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 DescribeUserResult 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)
The time zone for a user.
timezone
- The time zone for a user.public String getTimezone()
The time zone for a user.
public DescribeUserResult withTimezone(String timezone)
The time zone for a user.
timezone
- The time zone for a user.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 DescribeUserResult withIdentityStoreId(String identityStoreId)
The globally unique identifier for the identity store.
identityStoreId
- The globally unique identifier for the identity store.public String toString()
toString
in class Object
Object.toString()
public DescribeUserResult clone()