@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) |
String |
getCity()
City where the user is located.
|
String |
getCompany()
Company of the user.
|
String |
getCountry()
Country where the user is located.
|
String |
getDepartment()
Department of the user.
|
Date |
getDisabledDate()
The date and time at which the user was disabled for WorkMail usage, in UNIX epoch time format.
|
String |
getDisplayName()
The display name of the user.
|
String |
getEmail()
The email of the user.
|
Date |
getEnabledDate()
The date and time at which the user was enabled for WorkMailusage, in UNIX epoch time format.
|
String |
getFirstName()
First name of the user.
|
Boolean |
getHiddenFromGlobalAddressList()
If enabled, the user is hidden from the global address list.
|
String |
getInitials()
Initials of the user.
|
String |
getJobTitle()
Job title of the user.
|
String |
getLastName()
Last name of the user.
|
Date |
getMailboxDeprovisionedDate()
The date when the mailbox was removed for the user.
|
Date |
getMailboxProvisionedDate()
The date when the mailbox was created for the user.
|
String |
getName()
The name for the user.
|
String |
getOffice()
Office where the user is located.
|
String |
getState()
The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
|
String |
getStreet()
Street where the user is located.
|
String |
getTelephone()
User's contact number.
|
String |
getUserId()
The identifier for the described user.
|
String |
getUserRole()
In certain cases, other entities are modeled as users.
|
String |
getZipCode()
Zip code of the user.
|
int |
hashCode() |
Boolean |
isHiddenFromGlobalAddressList()
If enabled, the user is hidden from the global address list.
|
void |
setCity(String city)
City where the user is located.
|
void |
setCompany(String company)
Company of the user.
|
void |
setCountry(String country)
Country where the user is located.
|
void |
setDepartment(String department)
Department of the user.
|
void |
setDisabledDate(Date disabledDate)
The date and time at which the user was disabled for WorkMail usage, in UNIX epoch time format.
|
void |
setDisplayName(String displayName)
The display name of the user.
|
void |
setEmail(String email)
The email of the user.
|
void |
setEnabledDate(Date enabledDate)
The date and time at which the user was enabled for WorkMailusage, in UNIX epoch time format.
|
void |
setFirstName(String firstName)
First name of the user.
|
void |
setHiddenFromGlobalAddressList(Boolean hiddenFromGlobalAddressList)
If enabled, the user is hidden from the global address list.
|
void |
setInitials(String initials)
Initials of the user.
|
void |
setJobTitle(String jobTitle)
Job title of the user.
|
void |
setLastName(String lastName)
Last name of the user.
|
void |
setMailboxDeprovisionedDate(Date mailboxDeprovisionedDate)
The date when the mailbox was removed for the user.
|
void |
setMailboxProvisionedDate(Date mailboxProvisionedDate)
The date when the mailbox was created for the user.
|
void |
setName(String name)
The name for the user.
|
void |
setOffice(String office)
Office where the user is located.
|
void |
setState(String state)
The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
|
void |
setStreet(String street)
Street where the user is located.
|
void |
setTelephone(String telephone)
User's contact number.
|
void |
setUserId(String userId)
The identifier for the described user.
|
void |
setUserRole(String userRole)
In certain cases, other entities are modeled as users.
|
void |
setZipCode(String zipCode)
Zip code of the user.
|
String |
toString()
Returns a string representation of this object.
|
DescribeUserResult |
withCity(String city)
City where the user is located.
|
DescribeUserResult |
withCompany(String company)
Company of the user.
|
DescribeUserResult |
withCountry(String country)
Country where the user is located.
|
DescribeUserResult |
withDepartment(String department)
Department of the user.
|
DescribeUserResult |
withDisabledDate(Date disabledDate)
The date and time at which the user was disabled for WorkMail usage, in UNIX epoch time format.
|
DescribeUserResult |
withDisplayName(String displayName)
The display name of the user.
|
DescribeUserResult |
withEmail(String email)
The email of the user.
|
DescribeUserResult |
withEnabledDate(Date enabledDate)
The date and time at which the user was enabled for WorkMailusage, in UNIX epoch time format.
|
DescribeUserResult |
withFirstName(String firstName)
First name of the user.
|
DescribeUserResult |
withHiddenFromGlobalAddressList(Boolean hiddenFromGlobalAddressList)
If enabled, the user is hidden from the global address list.
|
DescribeUserResult |
withInitials(String initials)
Initials of the user.
|
DescribeUserResult |
withJobTitle(String jobTitle)
Job title of the user.
|
DescribeUserResult |
withLastName(String lastName)
Last name of the user.
|
DescribeUserResult |
withMailboxDeprovisionedDate(Date mailboxDeprovisionedDate)
The date when the mailbox was removed for the user.
|
DescribeUserResult |
withMailboxProvisionedDate(Date mailboxProvisionedDate)
The date when the mailbox was created for the user.
|
DescribeUserResult |
withName(String name)
The name for the user.
|
DescribeUserResult |
withOffice(String office)
Office where the user is located.
|
DescribeUserResult |
withState(EntityState state)
The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
|
DescribeUserResult |
withState(String state)
The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
|
DescribeUserResult |
withStreet(String street)
Street where the user is located.
|
DescribeUserResult |
withTelephone(String telephone)
User's contact number.
|
DescribeUserResult |
withUserId(String userId)
The identifier for the described user.
|
DescribeUserResult |
withUserRole(String userRole)
In certain cases, other entities are modeled as users.
|
DescribeUserResult |
withUserRole(UserRole userRole)
In certain cases, other entities are modeled as users.
|
DescribeUserResult |
withZipCode(String zipCode)
Zip code of the user.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setUserId(String userId)
The identifier for the described user.
userId
- The identifier for the described user.public String getUserId()
The identifier for the described user.
public DescribeUserResult withUserId(String userId)
The identifier for the described user.
userId
- The identifier for the described user.public void setName(String name)
The name for the user.
name
- The name for the user.public String getName()
The name for the user.
public DescribeUserResult withName(String name)
The name for the user.
name
- The name for the user.public void setEmail(String email)
The email of the user.
email
- The email of the user.public String getEmail()
The email of the user.
public DescribeUserResult withEmail(String email)
The email of the user.
email
- The email of the user.public void setDisplayName(String displayName)
The display name of the user.
displayName
- The display name of the user.public String getDisplayName()
The display name of the user.
public DescribeUserResult withDisplayName(String displayName)
The display name of the user.
displayName
- The display name of the user.public void setState(String state)
The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
state
- The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to
WorkMail).EntityState
public String getState()
The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
EntityState
public DescribeUserResult withState(String state)
The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
state
- The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to
WorkMail).EntityState
public DescribeUserResult withState(EntityState state)
The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
state
- The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to
WorkMail).EntityState
public void setUserRole(String userRole)
In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into WorkMail as users. Because different WorkMail organizations rely on different directory types, administrators can distinguish between an unregistered user (account is disabled and has a user role) and the directory administrators. The values are USER, RESOURCE, SYSTEM_USER, and REMOTE_USER.
userRole
- In certain cases, other entities are modeled as users. If interoperability is enabled, resources are
imported into WorkMail as users. Because different WorkMail organizations rely on different directory
types, administrators can distinguish between an unregistered user (account is disabled and has a user
role) and the directory administrators. The values are USER, RESOURCE, SYSTEM_USER, and REMOTE_USER.UserRole
public String getUserRole()
In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into WorkMail as users. Because different WorkMail organizations rely on different directory types, administrators can distinguish between an unregistered user (account is disabled and has a user role) and the directory administrators. The values are USER, RESOURCE, SYSTEM_USER, and REMOTE_USER.
UserRole
public DescribeUserResult withUserRole(String userRole)
In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into WorkMail as users. Because different WorkMail organizations rely on different directory types, administrators can distinguish between an unregistered user (account is disabled and has a user role) and the directory administrators. The values are USER, RESOURCE, SYSTEM_USER, and REMOTE_USER.
userRole
- In certain cases, other entities are modeled as users. If interoperability is enabled, resources are
imported into WorkMail as users. Because different WorkMail organizations rely on different directory
types, administrators can distinguish between an unregistered user (account is disabled and has a user
role) and the directory administrators. The values are USER, RESOURCE, SYSTEM_USER, and REMOTE_USER.UserRole
public DescribeUserResult withUserRole(UserRole userRole)
In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into WorkMail as users. Because different WorkMail organizations rely on different directory types, administrators can distinguish between an unregistered user (account is disabled and has a user role) and the directory administrators. The values are USER, RESOURCE, SYSTEM_USER, and REMOTE_USER.
userRole
- In certain cases, other entities are modeled as users. If interoperability is enabled, resources are
imported into WorkMail as users. Because different WorkMail organizations rely on different directory
types, administrators can distinguish between an unregistered user (account is disabled and has a user
role) and the directory administrators. The values are USER, RESOURCE, SYSTEM_USER, and REMOTE_USER.UserRole
public void setEnabledDate(Date enabledDate)
The date and time at which the user was enabled for WorkMailusage, in UNIX epoch time format.
enabledDate
- The date and time at which the user was enabled for WorkMailusage, in UNIX epoch time format.public Date getEnabledDate()
The date and time at which the user was enabled for WorkMailusage, in UNIX epoch time format.
public DescribeUserResult withEnabledDate(Date enabledDate)
The date and time at which the user was enabled for WorkMailusage, in UNIX epoch time format.
enabledDate
- The date and time at which the user was enabled for WorkMailusage, in UNIX epoch time format.public void setDisabledDate(Date disabledDate)
The date and time at which the user was disabled for WorkMail usage, in UNIX epoch time format.
disabledDate
- The date and time at which the user was disabled for WorkMail usage, in UNIX epoch time format.public Date getDisabledDate()
The date and time at which the user was disabled for WorkMail usage, in UNIX epoch time format.
public DescribeUserResult withDisabledDate(Date disabledDate)
The date and time at which the user was disabled for WorkMail usage, in UNIX epoch time format.
disabledDate
- The date and time at which the user was disabled for WorkMail usage, in UNIX epoch time format.public void setMailboxProvisionedDate(Date mailboxProvisionedDate)
The date when the mailbox was created for the user.
mailboxProvisionedDate
- The date when the mailbox was created for the user.public Date getMailboxProvisionedDate()
The date when the mailbox was created for the user.
public DescribeUserResult withMailboxProvisionedDate(Date mailboxProvisionedDate)
The date when the mailbox was created for the user.
mailboxProvisionedDate
- The date when the mailbox was created for the user.public void setMailboxDeprovisionedDate(Date mailboxDeprovisionedDate)
The date when the mailbox was removed for the user.
mailboxDeprovisionedDate
- The date when the mailbox was removed for the user.public Date getMailboxDeprovisionedDate()
The date when the mailbox was removed for the user.
public DescribeUserResult withMailboxDeprovisionedDate(Date mailboxDeprovisionedDate)
The date when the mailbox was removed for the user.
mailboxDeprovisionedDate
- The date when the mailbox was removed for the user.public void setFirstName(String firstName)
First name of the user.
firstName
- First name of the user.public String getFirstName()
First name of the user.
public DescribeUserResult withFirstName(String firstName)
First name of the user.
firstName
- First name of the user.public void setLastName(String lastName)
Last name of the user.
lastName
- Last name of the user.public String getLastName()
Last name of the user.
public DescribeUserResult withLastName(String lastName)
Last name of the user.
lastName
- Last name of the user.public void setHiddenFromGlobalAddressList(Boolean hiddenFromGlobalAddressList)
If enabled, the user is hidden from the global address list.
hiddenFromGlobalAddressList
- If enabled, the user is hidden from the global address list.public Boolean getHiddenFromGlobalAddressList()
If enabled, the user is hidden from the global address list.
public DescribeUserResult withHiddenFromGlobalAddressList(Boolean hiddenFromGlobalAddressList)
If enabled, the user is hidden from the global address list.
hiddenFromGlobalAddressList
- If enabled, the user is hidden from the global address list.public Boolean isHiddenFromGlobalAddressList()
If enabled, the user is hidden from the global address list.
public void setInitials(String initials)
Initials of the user.
initials
- Initials of the user.public String getInitials()
Initials of the user.
public DescribeUserResult withInitials(String initials)
Initials of the user.
initials
- Initials of the user.public void setTelephone(String telephone)
User's contact number.
telephone
- User's contact number.public String getTelephone()
User's contact number.
public DescribeUserResult withTelephone(String telephone)
User's contact number.
telephone
- User's contact number.public void setStreet(String street)
Street where the user is located.
street
- Street where the user is located.public String getStreet()
Street where the user is located.
public DescribeUserResult withStreet(String street)
Street where the user is located.
street
- Street where the user is located.public void setJobTitle(String jobTitle)
Job title of the user.
jobTitle
- Job title of the user.public String getJobTitle()
Job title of the user.
public DescribeUserResult withJobTitle(String jobTitle)
Job title of the user.
jobTitle
- Job title of the user.public void setCity(String city)
City where the user is located.
city
- City where the user is located.public String getCity()
City where the user is located.
public DescribeUserResult withCity(String city)
City where the user is located.
city
- City where the user is located.public void setCompany(String company)
Company of the user.
company
- Company of the user.public String getCompany()
Company of the user.
public DescribeUserResult withCompany(String company)
Company of the user.
company
- Company of the user.public void setZipCode(String zipCode)
Zip code of the user.
zipCode
- Zip code of the user.public String getZipCode()
Zip code of the user.
public DescribeUserResult withZipCode(String zipCode)
Zip code of the user.
zipCode
- Zip code of the user.public void setDepartment(String department)
Department of the user.
department
- Department of the user.public String getDepartment()
Department of the user.
public DescribeUserResult withDepartment(String department)
Department of the user.
department
- Department of the user.public void setCountry(String country)
Country where the user is located.
country
- Country where the user is located.public String getCountry()
Country where the user is located.
public DescribeUserResult withCountry(String country)
Country where the user is located.
country
- Country where the user is located.public void setOffice(String office)
Office where the user is located.
office
- Office where the user is located.public String getOffice()
Office where the user is located.
public DescribeUserResult withOffice(String office)
Office where the user is located.
office
- Office where the user is located.public String toString()
toString
in class Object
Object.toString()
public DescribeUserResult clone()