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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ExchangeCodeForTokenRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ExchangeCodeForTokenRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ExchangeCodeForTokenRequest.Builderprovider(String provider)The third-party provider for the token.ExchangeCodeForTokenRequest.Builderprovider(TokenProviders provider)The third-party provider for the token.default ExchangeCodeForTokenRequest.Builderrequest(Consumer<ExchangeCodeForTokenRequestBody.Builder> request)Describes the configuration of the request.ExchangeCodeForTokenRequest.Builderrequest(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
provider
ExchangeCodeForTokenRequest.Builder provider(String 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:
TokenProviders,TokenProviders
-
provider
ExchangeCodeForTokenRequest.Builder provider(TokenProviders 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:
TokenProviders,TokenProviders
-
request
ExchangeCodeForTokenRequest.Builder request(ExchangeCodeForTokenRequestBody 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:
request(ExchangeCodeForTokenRequestBody)
-
overrideConfiguration
ExchangeCodeForTokenRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ExchangeCodeForTokenRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-