@Generated(value="software.amazon.awssdk:codegen") public final class Identity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Identity.Builder,Identity>
Contains an identity that can access an IoT SiteWise Monitor resource.
Currently, you can't use Amazon Web Services APIs to retrieve IAM Identity Center identity IDs. You can find the IAM Identity Center identity IDs in the URL of user and group pages in the IAM Identity Center console.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Identity.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Identity.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
GroupIdentity |
group()
An IAM Identity Center group identity.
|
int |
hashCode() |
IAMRoleIdentity |
iamRole()
An IAM role identity.
|
IAMUserIdentity |
iamUser()
An IAM user identity.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Identity.Builder> |
serializableBuilderClass() |
Identity.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
UserIdentity |
user()
An IAM Identity Center user identity.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final UserIdentity user()
An IAM Identity Center user identity.
public final GroupIdentity group()
An IAM Identity Center group identity.
public final IAMUserIdentity iamUser()
An IAM user identity.
public final IAMRoleIdentity iamRole()
An IAM role identity.
public Identity.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Identity.Builder,Identity>public static Identity.Builder builder()
public static Class<? extends Identity.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.