public static interface Credentials.Builder extends CopyableBuilder<Credentials.Builder,Credentials>
Modifier and Type | Method and Description |
---|---|
Credentials.Builder |
accessKeyId(String accessKeyId)
The Access Key portion of the credentials.
|
Credentials.Builder |
expiration(Instant expiration)
The date at which these credentials will expire.
|
Credentials.Builder |
secretKey(String secretKey)
The Secret Access Key portion of the credentials
|
Credentials.Builder |
sessionToken(String sessionToken)
The Session Token portion of the credentials
|
copy
apply, build
Credentials.Builder accessKeyId(String accessKeyId)
The Access Key portion of the credentials.
accessKeyId
- The Access Key portion of the credentials.Credentials.Builder secretKey(String secretKey)
The Secret Access Key portion of the credentials
secretKey
- The Secret Access Key portion of the credentialsCredentials.Builder sessionToken(String sessionToken)
The Session Token portion of the credentials
sessionToken
- The Session Token portion of the credentialsCredentials.Builder expiration(Instant expiration)
The date at which these credentials will expire.
expiration
- The date at which these credentials will expire.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.