@Generated(value="software.amazon.awssdk:codegen") public final class SessionIssuer extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SessionIssuer.Builder,SessionIssuer>
Provides information about the source and type of temporary security credentials that were issued to an entity.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SessionIssuer.Builder |
| Modifier and Type | Method and Description |
|---|---|
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 source account, IAM user, or role that was used to get the credentials.
|
static SessionIssuer.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 SessionIssuer.Builder> |
serializableBuilderClass() |
SessionIssuer.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The source of the temporary security credentials, such as Root, IAMUser, or Role.
|
String |
userName()
The name or alias of the user or role that issued the session.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 source account, IAM user, or role 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 String type()
The source of the temporary security credentials, such as Root, IAMUser, or Role.
public final String userName()
The name or alias of the user or role that issued the session. This value is null if the credentials were obtained from a root account that doesn't have an alias.
public SessionIssuer.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SessionIssuer.Builder,SessionIssuer>public static SessionIssuer.Builder builder()
public static Class<? extends SessionIssuer.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.