public static interface GetExportRequest.Builder extends ApiGatewayRequest.Builder, 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)
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)
The string identifier of the associated RestApi.
|
GetExportRequest.Builder |
stageName(String stageName)
The name of the Stage that will be exported.
|
build
overrideConfiguration
copy
applyMutation, build
GetExportRequest.Builder restApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.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.GetExportRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.GetExportRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.