Interface AWSSessionCredentials.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AWSSessionCredentials.Builder,
,AWSSessionCredentials> SdkBuilder<AWSSessionCredentials.Builder,
,AWSSessionCredentials> SdkPojo
- Enclosing class:
AWSSessionCredentials
public static interface AWSSessionCredentials.Builder
extends SdkPojo, CopyableBuilder<AWSSessionCredentials.Builder,AWSSessionCredentials>
-
Method Summary
Modifier and TypeMethodDescriptionaccessKeyId
(String accessKeyId) The access key for the session.secretAccessKey
(String secretAccessKey) The secret access key for the session.sessionToken
(String sessionToken) The token for the session.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 access key for the session.
- Parameters:
accessKeyId
- The access key for the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretAccessKey
The secret access key for the session.
- Parameters:
secretAccessKey
- The secret access key for the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionToken
The token for the session.
- Parameters:
sessionToken
- The token for the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-