Interface ImportRestApiRequest.Builder
- All Superinterfaces:
- ApiGatewayRequest.Builder,- AwsRequest.Builder,- Buildable,- CopyableBuilder<ImportRestApiRequest.Builder,,- ImportRestApiRequest> - SdkBuilder<ImportRestApiRequest.Builder,,- ImportRestApiRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- ImportRestApiRequest
- 
Method SummaryModifier and TypeMethodDescriptionThe POST request body containing external API definitions.failOnWarnings(Boolean failOnWarnings) A query parameter to indicate whether to rollback the API creation (true) or not (false) 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.parameters(Map<String, String> parameters) A key-value map of context-specific query string parameters specifying the behavior of different API importing operations.Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
failOnWarningsA query parameter to indicate whether to rollback the API creation ( true) or not (false) when a warning is encountered. The default value isfalse.- Parameters:
- failOnWarnings- A query parameter to indicate whether to rollback the API creation (- true) or not (- false) when a warning is encountered. The default value is- false.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
parametersA key-value map of context-specific query string parameters specifying the behavior of different API importing operations. The following shows operation-specific parameters and their supported values. To exclude DocumentationParts from the import, set parametersasignore=documentation.To configure the endpoint type, set parametersasendpointConfigurationTypes=EDGE,endpointConfigurationTypes=REGIONAL, orendpointConfigurationTypes=PRIVATE. The default endpoint type isEDGE.To handle imported basepath, setparametersasbasepath=ignore,basepath=prependorbasepath=split.- Parameters:
- parameters- A key-value map of context-specific query string parameters specifying the behavior of different API importing operations. The following shows operation-specific parameters and their supported values.- To exclude DocumentationParts from the import, set - parametersas- ignore=documentation.- To configure the endpoint type, set - parametersas- endpointConfigurationTypes=EDGE,- endpointConfigurationTypes=REGIONAL, or- endpointConfigurationTypes=PRIVATE. The default endpoint type is- EDGE.- To handle imported - basepath, set- parametersas- basepath=ignore,- basepath=prependor- basepath=split.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
bodyThe POST request body containing external API definitions. Currently, only OpenAPI definition JSON/YAML files are supported. The maximum size of the API definition file is 6MB. - Parameters:
- body- The POST request body containing external API definitions. Currently, only OpenAPI definition JSON/YAML files are supported. The maximum size of the API definition file is 6MB.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationImportRestApiRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationImportRestApiRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-