@Generated(value="software.amazon.awssdk:codegen") public final class FederatedUser extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FederatedUser.Builder,FederatedUser>
Provides information about an identity that performed an action on an affected resource by using temporary security credentials. The credentials were obtained using the GetFederationToken operation of the Security Token Service (STS) API.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FederatedUser.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessKeyId()
The Amazon Web Services access key ID that identifies the credentials.
|
String |
accountId()
The unique identifier for the Amazon Web Services account that owns the entity that was used to get the
credentials.
|
String |
arn()
The Amazon Resource Name (ARN) of the entity that was used to get the credentials.
|
static FederatedUser.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
principalId()
The unique identifier for the entity that was used to get the credentials.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FederatedUser.Builder> |
serializableBuilderClass() |
SessionContext |
sessionContext()
The details of the session that was created for the credentials, including the entity that issued the session.
|
FederatedUser.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accessKeyId()
The Amazon Web Services access key ID that identifies the credentials.
public final String accountId()
The unique identifier for the Amazon Web Services account that owns the entity that was used to get the credentials.
public final String arn()
The Amazon Resource Name (ARN) of the entity that was used to get the credentials.
public final String principalId()
The unique identifier for the entity that was used to get the credentials.
public final SessionContext sessionContext()
The details of the session that was created for the credentials, including the entity that issued the session.
public FederatedUser.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FederatedUser.Builder,FederatedUser>public static FederatedUser.Builder builder()
public static Class<? extends FederatedUser.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.