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
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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
. ForexportType
oas30
andswagger
, 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.postman
will 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
. ForexportType
oas30
andswagger
, 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.postman
will 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/json
andapplication/yaml
are supported forexportType
ofoas30
andswagger
. This should be specified in theAccept
header for direct API requests.- Parameters:
accepts
- The content-type of the export, for exampleapplication/json
. Currentlyapplication/json
andapplication/yaml
are supported forexportType
ofoas30
andswagger
. This should be specified in theAccept
header 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-