@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserIdentity extends Object implements Serializable, Cloneable, StructuredPojo
Contains information for a user identity in an access policy.
Constructor and Description |
---|
UserIdentity() |
Modifier and Type | Method and Description |
---|---|
UserIdentity |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The IAM Identity Center ID of the user.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
The IAM Identity Center ID of the user.
|
String |
toString()
Returns a string representation of this object.
|
UserIdentity |
withId(String id)
The IAM Identity Center ID of the user.
|
public void setId(String id)
The IAM Identity Center ID of the user.
id
- The IAM Identity Center ID of the user.public String getId()
The IAM Identity Center ID of the user.
public UserIdentity withId(String id)
The IAM Identity Center ID of the user.
id
- The IAM Identity Center ID of the user.public String toString()
toString
in class Object
Object.toString()
public UserIdentity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.