Interface RoleCredentials.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RoleCredentials.Builder,
,RoleCredentials> SdkBuilder<RoleCredentials.Builder,
,RoleCredentials> SdkPojo
- Enclosing class:
RoleCredentials
public static interface RoleCredentials.Builder
extends SdkPojo, CopyableBuilder<RoleCredentials.Builder,RoleCredentials>
-
Method Summary
Modifier and TypeMethodDescriptionaccessKeyId
(String accessKeyId) The identifier used for the temporary security credentials.expiration
(Long expiration) The date on which temporary security credentials expire.secretAccessKey
(String secretAccessKey) The key that is used to sign the request.sessionToken
(String sessionToken) The token used for 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, sdkFields
-
Method Details
-
accessKeyId
The identifier used for the temporary security credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.
- Parameters:
accessKeyId
- The identifier used for the temporary security credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretAccessKey
The key that is used to sign the request. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.
- Parameters:
secretAccessKey
- The key that is used to sign the request. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionToken
The token used for temporary credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.
- Parameters:
sessionToken
- The token used for temporary credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiration
The date on which temporary security credentials expire.
- Parameters:
expiration
- The date on which temporary security credentials expire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-