CopyableBuilder<Credentials.Builder,Credentials>, SdkBuilder<Credentials.Builder,Credentials>public static interface Credentials.Builder extends CopyableBuilder<Credentials.Builder,Credentials>
| Modifier and Type | Method | Description |
|---|---|---|
Credentials.Builder |
accessKeyId(String accessKeyId) |
The Access Key portion of the credentials.
|
Credentials.Builder |
expiration(Date 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
|
copyapply, buildCredentials.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(Date 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.