Interface Credentials.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Credentials.Builder,
,Credentials> SdkBuilder<Credentials.Builder,
,Credentials> SdkPojo
- Enclosing class:
Credentials
@Mutable
@NotThreadSafe
public static interface Credentials.Builder
extends SdkPojo, CopyableBuilder<Credentials.Builder,Credentials>
-
Method Summary
Modifier and TypeMethodDescriptionaccessKeyId
(String accessKeyId) The access key ID that identifies the temporary security credentials.expiration
(Instant expiration) The Unix epoch timestamp in seconds when the current credentials expire.secretAccessKey
(String secretAccessKey) The secret access key that applications inside the pods use to sign requests.sessionToken
(String sessionToken) The token that applications inside the pods must pass to any service API to use the temporary 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 Details
-
sessionToken
The token that applications inside the pods must pass to any service API to use the temporary credentials.
- Parameters:
sessionToken
- The token that applications inside the pods must pass to any service API to use the temporary credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretAccessKey
The secret access key that applications inside the pods use to sign requests.
- Parameters:
secretAccessKey
- The secret access key that applications inside the pods use to sign requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessKeyId
The access key ID that identifies the temporary security credentials.
- Parameters:
accessKeyId
- The access key ID that identifies the temporary security credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiration
The Unix epoch timestamp in seconds when the current credentials expire.
- Parameters:
expiration
- The Unix epoch timestamp in seconds when the current credentials expire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-