Interface ImportApiRequest.Builder
-
- All Superinterfaces:
ApiGatewayV2Request.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<ImportApiRequest.Builder,ImportApiRequest>,SdkBuilder<ImportApiRequest.Builder,ImportApiRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ImportApiRequest
public static interface ImportApiRequest.Builder extends ApiGatewayV2Request.Builder, SdkPojo, CopyableBuilder<ImportApiRequest.Builder,ImportApiRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImportApiRequest.Builderbasepath(String basepath)Specifies how to interpret the base path of the API during import.ImportApiRequest.Builderbody(String body)The OpenAPI definition.ImportApiRequest.BuilderfailOnWarnings(Boolean failOnWarnings)Specifies whether to rollback the API creation when a warning is encountered.ImportApiRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ImportApiRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.services.apigatewayv2.model.ApiGatewayV2Request.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 Detail
-
basepath
ImportApiRequest.Builder basepath(String basepath)
Specifies how to interpret the base path of the API during import. Valid values are ignore, prepend, and split. The default value is ignore. To learn more, see Set the OpenAPI basePath Property. Supported only for HTTP APIs.
- Parameters:
basepath- Specifies how to interpret the base path of the API during import. Valid values are ignore, prepend, and split. The default value is ignore. To learn more, see Set the OpenAPI basePath Property. Supported only for HTTP APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
body
ImportApiRequest.Builder body(String body)
The OpenAPI definition. Supported only for HTTP APIs.
- Parameters:
body- The OpenAPI definition. Supported only for HTTP APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failOnWarnings
ImportApiRequest.Builder failOnWarnings(Boolean failOnWarnings)
Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered.
- Parameters:
failOnWarnings- Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ImportApiRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ImportApiRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-