@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 username 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 username of the user.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 username 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 username of the user.
username
- The username of the user.public String getUsername()
The username of the user.
public UserMetadata withUsername(String username)
The username of the user.
username
- The username 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 Object
Object.toString()
public UserMetadata clone()
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.