@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; useful for testing and debugging.
|
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.UserStatusType
public String getStatus()
The status of the user.
UserStatusType
public User withStatus(String status)
The status of the user.
status
- The status of the user.UserStatusType
public void setStatus(UserStatusType status)
The status of the user.
status
- The status of the user.UserStatusType
public User withStatus(UserStatusType status)
The status of the user.
status
- The status of the user.UserStatusType
public void setType(String type)
The type of user.
type
- The type of user.UserType
public User withType(String type)
The type of user.
type
- The type of user.UserType
public void setType(UserType type)
The type of user.
type
- The type of user.UserType
public User withType(UserType type)
The type of user.
type
- The type of user.UserType
public 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.LocaleType
public String getLocale()
The locale of the user.
LocaleType
public User withLocale(String locale)
The locale of the user.
locale
- The locale of the user.LocaleType
public void setLocale(LocaleType locale)
The locale of the user.
locale
- The locale of the user.LocaleType
public User withLocale(LocaleType locale)
The locale of the user.
locale
- The locale of the user.LocaleType
public 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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.