@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class User extends Object implements Serializable, Cloneable, StructuredPojo
A user object, which contains a specified user’s metadata and attributes.
Constructor and Description |
---|
User() |
Modifier and Type | Method and Description |
---|---|
User |
clone() |
boolean |
equals(Object obj) |
String |
getUserId()
The identifier for a user in the identity store.
|
String |
getUserName()
Contains the user’s user name value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setUserId(String userId)
The identifier for a user in the identity store.
|
void |
setUserName(String userName)
Contains the user’s user name value.
|
String |
toString()
Returns a string representation of this object.
|
User |
withUserId(String userId)
The identifier for a user in the identity store.
|
User |
withUserName(String userName)
Contains the user’s user name value.
|
public void setUserName(String userName)
Contains the user’s user name value. The length limit is 128 characters. This value can consist of letters,
accented characters, symbols, numbers, and punctuation. The characters <>;:%
are excluded.
This value is specified at the time the user is created and stored as an attribute of the user object in the
identity store.
userName
- Contains the user’s user name value. The length limit is 128 characters. This value can consist of
letters, accented characters, symbols, numbers, and punctuation. The characters <>;:%
are excluded. This value is specified at the time the user is created and stored as an attribute of the
user object in the identity store.public String getUserName()
Contains the user’s user name value. The length limit is 128 characters. This value can consist of letters,
accented characters, symbols, numbers, and punctuation. The characters <>;:%
are excluded.
This value is specified at the time the user is created and stored as an attribute of the user object in the
identity store.
<>;:%
are excluded. This value is specified at the time the user is created and stored as an attribute of the
user object in the identity store.public User withUserName(String userName)
Contains the user’s user name value. The length limit is 128 characters. This value can consist of letters,
accented characters, symbols, numbers, and punctuation. The characters <>;:%
are excluded.
This value is specified at the time the user is created and stored as an attribute of the user object in the
identity store.
userName
- Contains the user’s user name value. The length limit is 128 characters. This value can consist of
letters, accented characters, symbols, numbers, and punctuation. The characters <>;:%
are excluded. This value is specified at the time the user is created and stored as an attribute of the
user object in the identity store.public void setUserId(String userId)
The identifier for a user in the identity store.
userId
- The identifier for a user in the identity store.public String getUserId()
The identifier for a user in the identity store.
public User withUserId(String userId)
The identifier for a user in the identity store.
userId
- The identifier for a user in the identity store.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.