Interface GetExportRequest.Builder
-
- All Superinterfaces:
ApiGatewayRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<GetExportRequest.Builder,GetExportRequest>,SdkBuilder<GetExportRequest.Builder,GetExportRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetExportRequest
public static interface GetExportRequest.Builder extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<GetExportRequest.Builder,GetExportRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetExportRequest.Builderaccepts(String accepts)The content-type of the export, for exampleapplication/json.GetExportRequest.BuilderexportType(String exportType)The type of export.GetExportRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetExportRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetExportRequest.Builderparameters(Map<String,String> parameters)A key-value map of query string parameters that specify properties of the export, depending on the requestedexportType.GetExportRequest.BuilderrestApiId(String restApiId)The string identifier of the associated RestApi.GetExportRequest.BuilderstageName(String stageName)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
restApiId
GetExportRequest.Builder restApiId(String 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
GetExportRequest.Builder stageName(String 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
GetExportRequest.Builder exportType(String 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
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. 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
GetExportRequest.Builder accepts(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetExportRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-