@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Describes the metadata of the user.
| Constructor and Description |
|---|
UserMetadata() |
| Modifier and Type | Method and Description |
|---|---|
UserMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getEmailAddress()
The email address of the user.
|
String |
getGivenName()
The given name of the user before a rename operation.
|
String |
getId()
The ID of the user.
|
String |
getSurname()
The surname of the user.
|
String |
getUsername()
The name of the user.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEmailAddress(String emailAddress)
The email address of the user.
|
void |
setGivenName(String givenName)
The given name of the user before a rename operation.
|
void |
setId(String id)
The ID of the user.
|
void |
setSurname(String surname)
The surname of the user.
|
void |
setUsername(String username)
The name of the user.
|
String |
toString()
Returns a string representation of this object.
|
UserMetadata |
withEmailAddress(String emailAddress)
The email address of the user.
|
UserMetadata |
withGivenName(String givenName)
The given name of the user before a rename operation.
|
UserMetadata |
withId(String id)
The ID of the user.
|
UserMetadata |
withSurname(String surname)
The surname of the user.
|
UserMetadata |
withUsername(String username)
The 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 UserMetadata withId(String id)
The ID of the user.
id - The ID of the user.public void setUsername(String username)
The name of the user.
username - The name of the user.public String getUsername()
The name of the user.
public UserMetadata withUsername(String username)
The name of the user.
username - The name of the user.public void setGivenName(String givenName)
The given name of the user before a rename operation.
givenName - The given name of the user before a rename operation.public String getGivenName()
The given name of the user before a rename operation.
public UserMetadata withGivenName(String givenName)
The given name of the user before a rename operation.
givenName - The given name of the user before a rename operation.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 UserMetadata withSurname(String surname)
The surname of the user.
surname - The surname 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 UserMetadata withEmailAddress(String emailAddress)
The email address of the user.
emailAddress - The email address of the user.public String toString()
toString in class ObjectObject.toString()public UserMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.