@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 IoT SiteWise Monitor resource.
Currently, you can't use Amazon Web Services APIs to retrieve Amazon Web Services SSO identity IDs. You can find the Amazon Web Services SSO identity IDs in the URL of user and group pages in the Amazon Web Services SSO console.
Constructor and Description |
---|
Identity() |
Modifier and Type | Method and Description |
---|---|
Identity |
clone() |
boolean |
equals(Object obj) |
GroupIdentity |
getGroup()
An Amazon Web Services SSO group identity.
|
IAMRoleIdentity |
getIamRole()
An IAM role identity.
|
IAMUserIdentity |
getIamUser()
An IAM user identity.
|
UserIdentity |
getUser()
An Amazon Web Services SSO user identity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGroup(GroupIdentity group)
An Amazon Web Services SSO group identity.
|
void |
setIamRole(IAMRoleIdentity iamRole)
An IAM role identity.
|
void |
setIamUser(IAMUserIdentity iamUser)
An IAM user identity.
|
void |
setUser(UserIdentity user)
An Amazon Web Services SSO user identity.
|
String |
toString()
Returns a string representation of this object.
|
Identity |
withGroup(GroupIdentity group)
An Amazon Web Services SSO group identity.
|
Identity |
withIamRole(IAMRoleIdentity iamRole)
An IAM role identity.
|
Identity |
withIamUser(IAMUserIdentity iamUser)
An IAM user identity.
|
Identity |
withUser(UserIdentity user)
An Amazon Web Services SSO user identity.
|
public void setUser(UserIdentity user)
An Amazon Web Services SSO user identity.
user
- An Amazon Web Services SSO user identity.public UserIdentity getUser()
An Amazon Web Services SSO user identity.
public Identity withUser(UserIdentity user)
An Amazon Web Services SSO user identity.
user
- An Amazon Web Services SSO user identity.public void setGroup(GroupIdentity group)
An Amazon Web Services SSO group identity.
group
- An Amazon Web Services SSO group identity.public GroupIdentity getGroup()
An Amazon Web Services SSO group identity.
public Identity withGroup(GroupIdentity group)
An Amazon Web Services SSO group identity.
group
- An Amazon Web Services 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.