CopyableBuilder<GetExportRequest.Builder,GetExportRequest>, SdkBuilder<GetExportRequest.Builder,GetExportRequest>public static interface GetExportRequest.Builder extends CopyableBuilder<GetExportRequest.Builder,GetExportRequest>
| Modifier and Type | Method | Description |
|---|---|---|
GetExportRequest.Builder |
accepts(String accepts) |
The content-type of the export, for example
application/json. |
GetExportRequest.Builder |
exportType(String exportType) |
The type of export.
|
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) |
The identifier of the RestApi to be exported.
|
GetExportRequest.Builder |
stageName(String stageName) |
The name of the Stage that will be exported.
|
copyapply, buildGetExportRequest.Builder restApiId(String restApiId)
The identifier of the RestApi to be exported.
restApiId - The identifier of the RestApi to be exported.GetExportRequest.Builder stageName(String stageName)
The name of the Stage that will be exported.
stageName - The name of the Stage that will be exported.GetExportRequest.Builder exportType(String exportType)
The type of export. Currently only 'swagger' is supported.
exportType - The type of export. Currently only 'swagger' is supported.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 swagger, any combination of the following
parameters are supported: integrations will export the API with x-amazon-apigateway-integration
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 swagger, any combination
of the following parameters are supported: integrations will export the API with
x-amazon-apigateway-integration 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
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 of swagger. This should be specified in the Accept
header for direct API requests.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.