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
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaExchangeCodeForTokenRequestBody.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-