Interface AwsCredentials.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsCredentials.Builder,
,AwsCredentials> SdkBuilder<AwsCredentials.Builder,
,AwsCredentials> SdkPojo
- Enclosing class:
AwsCredentials
public static interface AwsCredentials.Builder
extends SdkPojo, CopyableBuilder<AwsCredentials.Builder,AwsCredentials>
-
Method Summary
Modifier and TypeMethodDescriptionaccessKeyId
(String accessKeyId) The unique identifier for the security credentials.expiration
(Long expiration) The Epoch time when the current credentials expire.secretAccessKey
(String secretAccessKey) The secret access key that can be used to sign requests.sessionToken
(String sessionToken) The token that users must pass to use the credentials.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
accessKeyId
The unique identifier for the security credentials.
- Parameters:
accessKeyId
- The unique identifier for the security credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretAccessKey
The secret access key that can be used to sign requests.
- Parameters:
secretAccessKey
- The secret access key that can be used to sign requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionToken
The token that users must pass to use the credentials.
- Parameters:
sessionToken
- The token that users must pass to use the credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiration
The Epoch time when the current credentials expire.
- Parameters:
expiration
- The Epoch time when the current credentials expire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-