@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Identity extends Object implements Serializable, Cloneable, StructuredPojo
Contains an identity that can access an AWS IoT SiteWise Monitor resource.
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()
An AWS SSO group identity.
|
IAMRoleIdentity |
getIamRole()
An IAM role identity.
|
IAMUserIdentity |
getIamUser()
An IAM user identity.
|
UserIdentity |
getUser()
An AWS SSO user identity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGroup(GroupIdentity group)
An AWS SSO group identity.
|
void |
setIamRole(IAMRoleIdentity iamRole)
An IAM role identity.
|
void |
setIamUser(IAMUserIdentity iamUser)
An IAM user identity.
|
void |
setUser(UserIdentity user)
An AWS SSO user identity.
|
String |
toString()
Returns a string representation of this object.
|
Identity |
withGroup(GroupIdentity group)
An AWS SSO group identity.
|
Identity |
withIamRole(IAMRoleIdentity iamRole)
An IAM role identity.
|
Identity |
withIamUser(IAMUserIdentity iamUser)
An IAM user identity.
|
Identity |
withUser(UserIdentity user)
An AWS SSO user identity.
|
public void setUser(UserIdentity user)
An AWS SSO user identity.
user
- An AWS SSO user identity.public UserIdentity getUser()
An AWS SSO user identity.
public Identity withUser(UserIdentity user)
An AWS SSO user identity.
user
- An AWS SSO user identity.public void setGroup(GroupIdentity group)
An AWS SSO group identity.
group
- An AWS SSO group identity.public GroupIdentity getGroup()
An AWS SSO group identity.
public Identity withGroup(GroupIdentity group)
An AWS SSO group identity.
group
- An AWS SSO group identity.public void setIamUser(IAMUserIdentity iamUser)
An IAM user identity.
iamUser
- An IAM user identity.public IAMUserIdentity getIamUser()
An IAM user identity.
public Identity withIamUser(IAMUserIdentity iamUser)
An IAM user identity.
iamUser
- An IAM user identity.public void setIamRole(IAMRoleIdentity iamRole)
An IAM role identity.
iamRole
- An IAM role identity.public IAMRoleIdentity getIamRole()
An IAM role identity.
public Identity withIamRole(IAMRoleIdentity iamRole)
An IAM role identity.
iamRole
- An IAM role 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.