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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RoleCredentials.BuilderaccessKeyId(String accessKeyId)The identifier used for the temporary security credentials.RoleCredentials.Builderexpiration(Long expiration)The date on which temporary security credentials expire.RoleCredentials.BuildersecretAccessKey(String secretAccessKey)The key that is used to sign the request.RoleCredentials.BuildersessionToken(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 Detail
-
accessKeyId
RoleCredentials.Builder accessKeyId(String 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
RoleCredentials.Builder secretAccessKey(String 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
RoleCredentials.Builder sessionToken(String 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
RoleCredentials.Builder expiration(Long 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.
-
-