Interface ExchangeCodeForTokenRequest.Builder
- All Superinterfaces:
AmplifyUiBuilderRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<ExchangeCodeForTokenRequest.Builder,
,ExchangeCodeForTokenRequest> SdkBuilder<ExchangeCodeForTokenRequest.Builder,
,ExchangeCodeForTokenRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ExchangeCodeForTokenRequest
public static interface ExchangeCodeForTokenRequest.Builder
extends AmplifyUiBuilderRequest.Builder, SdkPojo, CopyableBuilder<ExchangeCodeForTokenRequest.Builder,ExchangeCodeForTokenRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The third-party provider for the token.provider
(TokenProviders provider) The third-party provider for the token.Describes the configuration of the request.request
(ExchangeCodeForTokenRequestBody request) Describes the configuration of the request.Methods inherited from interface software.amazon.awssdk.services.amplifyuibuilder.model.AmplifyUiBuilderRequest.Builder
build
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
-
Method Details
-
provider
The third-party provider for the token. The only valid value is
figma
.- Parameters:
provider
- The third-party provider for the token. The only valid value isfigma
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
provider
The third-party provider for the token. The only valid value is
figma
.- Parameters:
provider
- The third-party provider for the token. The only valid value isfigma
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
request
Describes the configuration of the request.
- Parameters:
request
- Describes the configuration of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
request
default ExchangeCodeForTokenRequest.Builder request(Consumer<ExchangeCodeForTokenRequestBody.Builder> request) Describes the configuration of the request.
This is a convenience method that creates an instance of theExchangeCodeForTokenRequestBody.Builder
avoiding the need to create one manually viaExchangeCodeForTokenRequestBody.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torequest(ExchangeCodeForTokenRequestBody)
.- Parameters:
request
- a consumer that will call methods onExchangeCodeForTokenRequestBody.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ExchangeCodeForTokenRequest.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
ExchangeCodeForTokenRequest.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.
-