Interface ReimportApiRequest.Builder
- All Superinterfaces:
ApiGatewayV2Request.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<ReimportApiRequest.Builder,
,ReimportApiRequest> SdkBuilder<ReimportApiRequest.Builder,
,ReimportApiRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ReimportApiRequest
public static interface ReimportApiRequest.Builder
extends ApiGatewayV2Request.Builder, SdkPojo, CopyableBuilder<ReimportApiRequest.Builder,ReimportApiRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe API identifier.Specifies how to interpret the base path of the API during import.The OpenAPI definition.failOnWarnings
(Boolean failOnWarnings) Specifies whether to rollback the API creation when a warning is encountered.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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 Details
-
apiId
The API identifier.
- Parameters:
apiId
- The API identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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
ReimportApiRequest.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
ReimportApiRequest.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.
-