public static final class AwsSessionCredentials.Builder extends Object
AwsSessionCredentials
. This can be created with the static
AwsSessionCredentials.builder()
method.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AwsSessionCredentials.Builder |
accessKeyId(String accessKeyId)
The AWS access key, used to identify the user interacting with services.
|
AwsSessionCredentials |
build() |
AwsSessionCredentials.Builder |
expirationTime(Instant expirationTime)
The time after which this identity will no longer be valid.
|
AwsSessionCredentials.Builder |
secretAccessKey(String secretAccessKey)
The AWS secret access key, used to authenticate the user interacting with services.
|
AwsSessionCredentials.Builder |
sessionToken(String sessionToken)
The AWS session token, retrieved from an AWS token service, used for authenticating that this user has
received temporary permission to access some resource.
|
public AwsSessionCredentials.Builder accessKeyId(String accessKeyId)
public AwsSessionCredentials.Builder secretAccessKey(String secretAccessKey)
public AwsSessionCredentials.Builder sessionToken(String sessionToken)
public AwsSessionCredentials.Builder expirationTime(Instant expirationTime)
public AwsSessionCredentials build()
Copyright © 2023. All rights reserved.