Interface GetRoleCredentialsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetRoleCredentialsRequest.Builder,GetRoleCredentialsRequest>,SdkBuilder<GetRoleCredentialsRequest.Builder,GetRoleCredentialsRequest>,SdkPojo,SdkRequest.Builder,SsoRequest.Builder
- Enclosing class:
- GetRoleCredentialsRequest
@Mutable @NotThreadSafe public static interface GetRoleCredentialsRequest.Builder extends SsoRequest.Builder, SdkPojo, CopyableBuilder<GetRoleCredentialsRequest.Builder,GetRoleCredentialsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetRoleCredentialsRequest.BuilderaccessToken(String accessToken)The token issued by theCreateTokenAPI call.GetRoleCredentialsRequest.BuilderaccountId(String accountId)The identifier for the AWS account that is assigned to the user.GetRoleCredentialsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetRoleCredentialsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetRoleCredentialsRequest.BuilderroleName(String roleName)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.sso.model.SsoRequest.Builder
build
-
-
-
-
Method Detail
-
roleName
GetRoleCredentialsRequest.Builder roleName(String 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
GetRoleCredentialsRequest.Builder accountId(String 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
GetRoleCredentialsRequest.Builder accessToken(String accessToken)
The token issued by the
CreateTokenAPI call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide.- Parameters:
accessToken- The token issued by theCreateTokenAPI 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetRoleCredentialsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-