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 IAM access key ID.AwsCredentials.Builderexpiration(Instant expiration)The expiration date and time of the IAM credentials.AwsCredentials.BuildersecretAccessKey(String secretAccessKey)The IAM secret access key.AwsCredentials.BuildersessionToken(String sessionToken)The IAM session token-
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 Detail
-
accessKeyId
AwsCredentials.Builder accessKeyId(String accessKeyId)
The IAM access key ID.
- Parameters:
accessKeyId- The IAM access key ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiration
AwsCredentials.Builder expiration(Instant expiration)
The expiration date and time of the IAM credentials.
- Parameters:
expiration- The expiration date and time of the IAM credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretAccessKey
AwsCredentials.Builder secretAccessKey(String secretAccessKey)
The IAM secret access key.
- Parameters:
secretAccessKey- The IAM secret access key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionToken
AwsCredentials.Builder sessionToken(String sessionToken)
The IAM session token
- Parameters:
sessionToken- The IAM session token- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-