Interface GetRoleCredentialsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetRoleCredentialsRequest.Builder,
,GetRoleCredentialsRequest> SdkBuilder<GetRoleCredentialsRequest.Builder,
,GetRoleCredentialsRequest> SdkPojo
,SdkRequest.Builder
,SsoRequest.Builder
- Enclosing class:
GetRoleCredentialsRequest
public static interface GetRoleCredentialsRequest.Builder
extends SsoRequest.Builder, SdkPojo, CopyableBuilder<GetRoleCredentialsRequest.Builder,GetRoleCredentialsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionaccessToken
(String accessToken) The token issued by theCreateToken
API call.The identifier for the AWS account that is assigned to the user.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The friendly name of the role that is assigned to the user.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
Methods inherited from interface software.amazon.awssdk.services.sso.model.SsoRequest.Builder
build
-
Method Details
-
roleName
The friendly name of the role that is assigned to the user.
- Parameters:
roleName
- The friendly name of the role that is assigned to the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
The identifier for the AWS account that is assigned to the user.
- Parameters:
accountId
- The identifier for the AWS account that is assigned to the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessToken
The token issued by the
CreateToken
API call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide.- Parameters:
accessToken
- The token issued by theCreateToken
API call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetRoleCredentialsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetRoleCredentialsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-