@Generated(value="software.amazon.awssdk:codegen") public final class UserIdentity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UserIdentity.Builder,UserIdentity>
Description of the requester that calls the API operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UserIdentity.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UserIdentity.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
principalId()
A unique identifier for the requester that calls the API operation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UserIdentity.Builder> |
serializableBuilderClass() |
UserIdentity.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
UserIdentityType |
type()
The identity type of the requester that calls the API operation.
|
String |
typeAsString()
The identity type of the requester that calls the API operation.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final UserIdentityType type()
The identity type of the requester that calls the API operation.
If the service returns an enum value that is not available in the current SDK version, type will return
UserIdentityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
The identity type of the requester that calls the API operation.
UserIdentityTypepublic final String typeAsString()
The identity type of the requester that calls the API operation.
If the service returns an enum value that is not available in the current SDK version, type will return
UserIdentityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
The identity type of the requester that calls the API operation.
UserIdentityTypepublic final String principalId()
A unique identifier for the requester that calls the API operation.
A unique identifier for the requester that calls the API operation.
public UserIdentity.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UserIdentity.Builder,UserIdentity>public static UserIdentity.Builder builder()
public static Class<? extends UserIdentity.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.