@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) |
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 |
getName()
The name for the user.
|
String |
getState()
The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
|
String |
getUserId()
The identifier for the described user.
|
String |
getUserRole()
In certain cases, other entities are modeled as users.
|
int |
hashCode() |
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 |
setName(String name)
The name for the user.
|
void |
setState(String state)
The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
|
void |
setUserId(String userId)
The identifier for the described user.
|
void |
setUserRole(String userRole)
In certain cases, other entities are modeled as users.
|
String |
toString()
Returns a string representation of this object.
|
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 |
withName(String name)
The name for the user.
|
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 |
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.
|
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, and SYSTEM_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, and SYSTEM_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, and SYSTEM_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, and SYSTEM_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, and SYSTEM_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, and SYSTEM_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, and SYSTEM_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 String toString()
toString
in class Object
Object.toString()
public DescribeUserResult clone()