public final class DefaultAwsSessionCredentialsIdentity extends Object implements AwsSessionCredentialsIdentity
| Modifier and Type | Method and Description |
|---|---|
String |
accessKeyId()
Retrieve the AWS access key, used to identify the user interacting with services.
|
Optional<String> |
accountId()
Retrieve the AWS account id associated with this credentials identity, if found.
|
static AwsSessionCredentialsIdentity.Builder |
builder() |
boolean |
equals(Object o) |
int |
hashCode() |
Optional<String> |
providerName()
The source that resolved this identity, normally an identity provider.
|
String |
secretAccessKey()
Retrieve the AWS secret access key, used to authenticate the user interacting with services.
|
String |
sessionToken()
Retrieve the AWS session token.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcreatecreateexpirationTimepublic static AwsSessionCredentialsIdentity.Builder builder()
builder in interface AwsCredentialsIdentitybuilder in interface AwsSessionCredentialsIdentitypublic String accessKeyId()
AwsCredentialsIdentityaccessKeyId in interface AwsCredentialsIdentitypublic String secretAccessKey()
AwsCredentialsIdentitysecretAccessKey in interface AwsCredentialsIdentitypublic Optional<String> accountId()
AwsCredentialsIdentityaccountId in interface AwsCredentialsIdentitypublic String sessionToken()
AwsSessionCredentialsIdentitysessionToken in interface AwsSessionCredentialsIdentitypublic Optional<String> providerName()
IdentityproviderName in interface IdentityCopyright © 2026. All rights reserved.