Interface SessionCredentials.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SessionCredentials.Builder,
,SessionCredentials> SdkBuilder<SessionCredentials.Builder,
,SessionCredentials> SdkPojo
- Enclosing class:
SessionCredentials
-
Method Summary
Modifier and TypeMethodDescriptionaccessKeyId
(String accessKeyId) A unique identifier that's associated with a secret access key.expiration
(Instant expiration) Temporary security credentials expire after a specified interval.secretAccessKey
(String secretAccessKey) A key that's used with the access key ID to cryptographically sign programmatic Amazon Web Services requests.sessionToken
(String sessionToken) A part of the temporary security 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
A unique identifier that's associated with a secret access key. The access key ID and the secret access key are used together to sign programmatic Amazon Web Services requests cryptographically.
- Parameters:
accessKeyId
- A unique identifier that's associated with a secret access key. The access key ID and the secret access key are used together to sign programmatic Amazon Web Services requests cryptographically.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretAccessKey
A key that's used with the access key ID to cryptographically sign programmatic Amazon Web Services requests. Signing a request identifies the sender and prevents the request from being altered.
- Parameters:
secretAccessKey
- A key that's used with the access key ID to cryptographically sign programmatic Amazon Web Services requests. Signing a request identifies the sender and prevents the request from being altered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionToken
A part of the temporary security credentials. The session token is used to validate the temporary security credentials.
- Parameters:
sessionToken
- A part of the temporary security credentials. The session token is used to validate the temporary security credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiration
Temporary security credentials expire after a specified interval. After temporary credentials expire, any calls that you make with those credentials will fail. So you must generate a new set of temporary credentials. Temporary credentials cannot be extended or refreshed beyond the original specified interval.
- Parameters:
expiration
- Temporary security credentials expire after a specified interval. After temporary credentials expire, any calls that you make with those credentials will fail. So you must generate a new set of temporary credentials. Temporary credentials cannot be extended or refreshed beyond the original specified interval.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-