public static interface Credentials.Builder extends SdkPojo, CopyableBuilder<Credentials.Builder,Credentials>
Modifier and Type | Method and Description |
---|---|
Credentials.Builder |
accessKeyId(String accessKeyId)
The access key ID that identifies the temporary security credentials.
|
Credentials.Builder |
expiration(Instant expiration)
The date on which the current credentials expire.
|
Credentials.Builder |
secretAccessKey(String secretAccessKey)
The secret access key that can be used to sign requests.
|
Credentials.Builder |
sessionToken(String sessionToken)
The token that users must pass to the service API to use the temporary credentials.
|
copy
applyMutation, build
Credentials.Builder accessKeyId(String accessKeyId)
The access key ID that identifies the temporary security credentials.
accessKeyId
- The access key ID that identifies the temporary security credentials.Credentials.Builder secretAccessKey(String secretAccessKey)
The secret access key that can be used to sign requests.
secretAccessKey
- The secret access key that can be used to sign requests.Credentials.Builder sessionToken(String sessionToken)
The token that users must pass to the service API to use the temporary credentials.
sessionToken
- The token that users must pass to the service API to use the temporary credentials.Credentials.Builder expiration(Instant expiration)
The date on which the current credentials expire.
expiration
- The date on which the current credentials expire.Copyright © 2019. All rights reserved.