Interface Credentials.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Credentials.Builder,
,Credentials> SdkBuilder<Credentials.Builder,
,Credentials> SdkPojo
- Enclosing class:
Credentials
public static interface Credentials.Builder
extends SdkPojo, CopyableBuilder<Credentials.Builder,Credentials>
-
Method Summary
Modifier and TypeMethodDescriptionaccessKeyId
(String accessKeyId) The unique access key ID of the Amazon Web Services STS temporary credential that S3 Access Grants vends to grantees and client applications.expiration
(Instant expiration) The expiration date and time of the temporary credential that S3 Access Grants vends to grantees and client applications.secretAccessKey
(String secretAccessKey) The secret access key of the Amazon Web Services STS temporary credential that S3 Access Grants vends to grantees and client applications.sessionToken
(String sessionToken) The Amazon Web Services STS temporary credential that S3 Access Grants vends to grantees and client applications.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 access key ID of the Amazon Web Services STS temporary credential that S3 Access Grants vends to grantees and client applications.
- Parameters:
accessKeyId
- The unique access key ID of the Amazon Web Services STS temporary credential that S3 Access Grants vends to grantees and client applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretAccessKey
The secret access key of the Amazon Web Services STS temporary credential that S3 Access Grants vends to grantees and client applications.
- Parameters:
secretAccessKey
- The secret access key of the Amazon Web Services STS temporary credential that S3 Access Grants vends to grantees and client applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionToken
The Amazon Web Services STS temporary credential that S3 Access Grants vends to grantees and client applications.
- Parameters:
sessionToken
- The Amazon Web Services STS temporary credential that S3 Access Grants vends to grantees and client applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiration
The expiration date and time of the temporary credential that S3 Access Grants vends to grantees and client applications.
- Parameters:
expiration
- The expiration date and time of the temporary credential that S3 Access Grants vends to grantees and client applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-