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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsCredentials.BuilderaccessKeyId(String accessKeyId)The unique identifier for the security credentials.AwsCredentials.Builderexpiration(Long expiration)The Epoch time when the current credentials expire.AwsCredentials.BuildersecretAccessKey(String secretAccessKey)The secret access key that can be used to sign requests.AwsCredentials.BuildersessionToken(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
accessKeyId
AwsCredentials.Builder accessKeyId(String 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
AwsCredentials.Builder secretAccessKey(String 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
AwsCredentials.Builder sessionToken(String 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
AwsCredentials.Builder expiration(Long 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.
-
-