Interface GetExportRequest.Builder
- All Superinterfaces:
ApiGatewayRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<GetExportRequest.Builder,,GetExportRequest> SdkBuilder<GetExportRequest.Builder,,GetExportRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetExportRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe content-type of the export, for exampleapplication/json.exportType(String exportType) The type of export.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 query string parameters that specify properties of the export, depending on the requestedexportType.The string identifier of the associated RestApi.The name of the Stage that will be exported.Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayRequest.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
-
restApiId
The string identifier of the associated RestApi.
- Parameters:
restApiId- The string identifier of the associated RestApi.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stageName
The name of the Stage that will be exported.
- Parameters:
stageName- The name of the Stage that will be exported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exportType
The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x and 'swagger' for Swagger/OpenAPI 2.0.
- Parameters:
exportType- The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x and 'swagger' for Swagger/OpenAPI 2.0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A key-value map of query string parameters that specify properties of the export, depending on the requested
exportType. ForexportTypeoas30andswagger, any combination of the following parameters are supported:extensions='integrations'orextensions='apigateway'will export the API with x-amazon-apigateway-integration extensions.extensions='authorizers'will export the API with x-amazon-apigateway-authorizer extensions.postmanwill export the API with Postman extensions, allowing for import to the Postman tool- Parameters:
parameters- A key-value map of query string parameters that specify properties of the export, depending on the requestedexportType. ForexportTypeoas30andswagger, any combination of the following parameters are supported:extensions='integrations'orextensions='apigateway'will export the API with x-amazon-apigateway-integration extensions.extensions='authorizers'will export the API with x-amazon-apigateway-authorizer extensions.postmanwill export the API with Postman extensions, allowing for import to the Postman tool- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accepts
The content-type of the export, for example
application/json. Currentlyapplication/jsonandapplication/yamlare supported forexportTypeofoas30andswagger. This should be specified in theAcceptheader for direct API requests.- Parameters:
accepts- The content-type of the export, for exampleapplication/json. Currentlyapplication/jsonandapplication/yamlare supported forexportTypeofoas30andswagger. This should be specified in theAcceptheader for direct API requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetExportRequest.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
GetExportRequest.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.
-