public static interface Credentials.Builder extends 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.
|
copyapply, buildCredentials.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 © 2017 Amazon Web Services, Inc. All Rights Reserved.