@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Identity extends Object implements Serializable, Cloneable, StructuredPojo
Contains an AWS SSO identity ID for a user or group.
Currently, you can't use AWS APIs to retrieve AWS SSO identity IDs. You can find the AWS SSO identity IDs in the URL of user and group pages in the AWS SSO console.
Constructor and Description |
---|
Identity() |
Modifier and Type | Method and Description |
---|---|
Identity |
clone() |
boolean |
equals(Object obj) |
GroupIdentity |
getGroup()
A group identity.
|
UserIdentity |
getUser()
A user identity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGroup(GroupIdentity group)
A group identity.
|
void |
setUser(UserIdentity user)
A user identity.
|
String |
toString()
Returns a string representation of this object.
|
Identity |
withGroup(GroupIdentity group)
A group identity.
|
Identity |
withUser(UserIdentity user)
A user identity.
|
public void setUser(UserIdentity user)
A user identity.
user
- A user identity.public UserIdentity getUser()
A user identity.
public Identity withUser(UserIdentity user)
A user identity.
user
- A user identity.public void setGroup(GroupIdentity group)
A group identity.
group
- A group identity.public GroupIdentity getGroup()
A group identity.
public Identity withGroup(GroupIdentity group)
A group identity.
group
- A group identity.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.