@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class User extends Object implements Serializable, Cloneable, StructuredPojo
Describes a user.
| Constructor and Description |
|---|
User() |
| Modifier and Type | Method and Description |
|---|---|
User |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedTimestamp()
The time when the user was created.
|
String |
getEmailAddress()
The email address of the user.
|
String |
getGivenName()
The given name of the user.
|
String |
getId()
The ID of the user.
|
String |
getLocale()
The locale of the user.
|
Date |
getModifiedTimestamp()
The time when the user was modified.
|
String |
getOrganizationId()
The ID of the organization.
|
String |
getRecycleBinFolderId()
The ID of the recycle bin folder.
|
String |
getRootFolderId()
The ID of the root folder.
|
String |
getStatus()
The status of the user.
|
UserStorageMetadata |
getStorage()
The storage for the user.
|
String |
getSurname()
The surname of the user.
|
String |
getTimeZoneId()
The time zone ID of the user.
|
String |
getType()
The type of user.
|
String |
getUsername()
The login name of the user.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCreatedTimestamp(Date createdTimestamp)
The time when the user was created.
|
void |
setEmailAddress(String emailAddress)
The email address of the user.
|
void |
setGivenName(String givenName)
The given name of the user.
|
void |
setId(String id)
The ID of the user.
|
void |
setLocale(LocaleType locale)
The locale of the user.
|
void |
setLocale(String locale)
The locale of the user.
|
void |
setModifiedTimestamp(Date modifiedTimestamp)
The time when the user was modified.
|
void |
setOrganizationId(String organizationId)
The ID of the organization.
|
void |
setRecycleBinFolderId(String recycleBinFolderId)
The ID of the recycle bin folder.
|
void |
setRootFolderId(String rootFolderId)
The ID of the root folder.
|
void |
setStatus(String status)
The status of the user.
|
void |
setStatus(UserStatusType status)
The status of the user.
|
void |
setStorage(UserStorageMetadata storage)
The storage for the user.
|
void |
setSurname(String surname)
The surname of the user.
|
void |
setTimeZoneId(String timeZoneId)
The time zone ID of the user.
|
void |
setType(String type)
The type of user.
|
void |
setType(UserType type)
The type of user.
|
void |
setUsername(String username)
The login name of the user.
|
String |
toString()
Returns a string representation of this object.
|
User |
withCreatedTimestamp(Date createdTimestamp)
The time when the user was created.
|
User |
withEmailAddress(String emailAddress)
The email address of the user.
|
User |
withGivenName(String givenName)
The given name of the user.
|
User |
withId(String id)
The ID of the user.
|
User |
withLocale(LocaleType locale)
The locale of the user.
|
User |
withLocale(String locale)
The locale of the user.
|
User |
withModifiedTimestamp(Date modifiedTimestamp)
The time when the user was modified.
|
User |
withOrganizationId(String organizationId)
The ID of the organization.
|
User |
withRecycleBinFolderId(String recycleBinFolderId)
The ID of the recycle bin folder.
|
User |
withRootFolderId(String rootFolderId)
The ID of the root folder.
|
User |
withStatus(String status)
The status of the user.
|
User |
withStatus(UserStatusType status)
The status of the user.
|
User |
withStorage(UserStorageMetadata storage)
The storage for the user.
|
User |
withSurname(String surname)
The surname of the user.
|
User |
withTimeZoneId(String timeZoneId)
The time zone ID of the user.
|
User |
withType(String type)
The type of user.
|
User |
withType(UserType type)
The type of user.
|
User |
withUsername(String username)
The login name of the user.
|
public void setId(String id)
The ID of the user.
id - The ID of the user.public String getId()
The ID of the user.
public User withId(String id)
The ID of the user.
id - The ID of the user.public void setUsername(String username)
The login name of the user.
username - The login name of the user.public String getUsername()
The login name of the user.
public User withUsername(String username)
The login name of the user.
username - The login name of the user.public void setEmailAddress(String emailAddress)
The email address of the user.
emailAddress - The email address of the user.public String getEmailAddress()
The email address of the user.
public User withEmailAddress(String emailAddress)
The email address of the user.
emailAddress - The email address of the user.public void setGivenName(String givenName)
The given name of the user.
givenName - The given name of the user.public String getGivenName()
The given name of the user.
public User withGivenName(String givenName)
The given name of the user.
givenName - The given name of the user.public void setSurname(String surname)
The surname of the user.
surname - The surname of the user.public String getSurname()
The surname of the user.
public User withSurname(String surname)
The surname of the user.
surname - The surname of the user.public void setOrganizationId(String organizationId)
The ID of the organization.
organizationId - The ID of the organization.public String getOrganizationId()
The ID of the organization.
public User withOrganizationId(String organizationId)
The ID of the organization.
organizationId - The ID of the organization.public void setRootFolderId(String rootFolderId)
The ID of the root folder.
rootFolderId - The ID of the root folder.public String getRootFolderId()
The ID of the root folder.
public User withRootFolderId(String rootFolderId)
The ID of the root folder.
rootFolderId - The ID of the root folder.public void setRecycleBinFolderId(String recycleBinFolderId)
The ID of the recycle bin folder.
recycleBinFolderId - The ID of the recycle bin folder.public String getRecycleBinFolderId()
The ID of the recycle bin folder.
public User withRecycleBinFolderId(String recycleBinFolderId)
The ID of the recycle bin folder.
recycleBinFolderId - The ID of the recycle bin folder.public void setStatus(String status)
The status of the user.
status - The status of the user.UserStatusTypepublic String getStatus()
The status of the user.
UserStatusTypepublic User withStatus(String status)
The status of the user.
status - The status of the user.UserStatusTypepublic void setStatus(UserStatusType status)
The status of the user.
status - The status of the user.UserStatusTypepublic User withStatus(UserStatusType status)
The status of the user.
status - The status of the user.UserStatusTypepublic void setType(String type)
The type of user.
type - The type of user.UserTypepublic User withType(String type)
The type of user.
type - The type of user.UserTypepublic void setType(UserType type)
The type of user.
type - The type of user.UserTypepublic User withType(UserType type)
The type of user.
type - The type of user.UserTypepublic void setCreatedTimestamp(Date createdTimestamp)
The time when the user was created.
createdTimestamp - The time when the user was created.public Date getCreatedTimestamp()
The time when the user was created.
public User withCreatedTimestamp(Date createdTimestamp)
The time when the user was created.
createdTimestamp - The time when the user was created.public void setModifiedTimestamp(Date modifiedTimestamp)
The time when the user was modified.
modifiedTimestamp - The time when the user was modified.public Date getModifiedTimestamp()
The time when the user was modified.
public User withModifiedTimestamp(Date modifiedTimestamp)
The time when the user was modified.
modifiedTimestamp - The time when the user was modified.public void setTimeZoneId(String timeZoneId)
The time zone ID of the user.
timeZoneId - The time zone ID of the user.public String getTimeZoneId()
The time zone ID of the user.
public User withTimeZoneId(String timeZoneId)
The time zone ID of the user.
timeZoneId - The time zone ID of the user.public void setLocale(String locale)
The locale of the user.
locale - The locale of the user.LocaleTypepublic String getLocale()
The locale of the user.
LocaleTypepublic User withLocale(String locale)
The locale of the user.
locale - The locale of the user.LocaleTypepublic void setLocale(LocaleType locale)
The locale of the user.
locale - The locale of the user.LocaleTypepublic User withLocale(LocaleType locale)
The locale of the user.
locale - The locale of the user.LocaleTypepublic void setStorage(UserStorageMetadata storage)
The storage for the user.
storage - The storage for the user.public UserStorageMetadata getStorage()
The storage for the user.
public User withStorage(UserStorageMetadata storage)
The storage for the user.
storage - The storage for the user.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.