public static interface GetExportRequest.Builder extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<GetExportRequest.Builder,GetExportRequest>
| Modifier and Type | Method and Description |
|---|---|
GetExportRequest.Builder |
accepts(String accepts)
The content-type of the export, for example
application/json. |
GetExportRequest.Builder |
exportType(String exportType)
[Required] The type of export.
|
GetExportRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
GetExportRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
GetExportRequest.Builder |
parameters(Map<String,String> parameters)
A key-value map of query string parameters that specify properties of the export, depending on the requested
exportType. |
GetExportRequest.Builder |
restApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
|
GetExportRequest.Builder |
stageName(String stageName)
[Required] The name of the Stage that will be exported.
|
buildoverrideConfigurationcopyapplyMutation, buildGetExportRequest.Builder restApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
restApiId - [Required] The string identifier of the associated RestApi.GetExportRequest.Builder stageName(String stageName)
[Required] The name of the Stage that will be exported.
stageName - [Required] The name of the Stage that will be exported.GetExportRequest.Builder exportType(String exportType)
[Required] The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x and 'swagger' for Swagger/OpenAPI 2.0.
exportType - [Required] The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x and 'swagger' for
Swagger/OpenAPI 2.0.GetExportRequest.Builder parameters(Map<String,String> parameters)
A key-value map of query string parameters that specify properties of the export, depending on the requested
exportType. For exportType oas30 and swagger, any
combination of the following parameters are supported: extensions='integrations' or
extensions='apigateway' will export the API with x-amazon-apigateway-integration extensions.
extensions='authorizers' will export the API with x-amazon-apigateway-authorizer extensions.
postman will export the API with Postman extensions, allowing for import to the Postman tool
parameters - A key-value map of query string parameters that specify properties of the export, depending on the
requested exportType. For exportType oas30 and
swagger, any combination of the following parameters are supported:
extensions='integrations' or extensions='apigateway' will export the API
with x-amazon-apigateway-integration extensions. extensions='authorizers' will export the
API with x-amazon-apigateway-authorizer extensions. postman will export the API with
Postman extensions, allowing for import to the Postman toolGetExportRequest.Builder accepts(String accepts)
The content-type of the export, for example application/json. Currently
application/json and application/yaml are supported for exportType of
oas30 and swagger. This should be specified in the Accept header for
direct API requests.
accepts - The content-type of the export, for example application/json. Currently
application/json and application/yaml are supported for
exportType ofoas30 and swagger. This should be specified in the
Accept header for direct API requests.GetExportRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.GetExportRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.