Interface ExportApiRequest.Builder
-
- All Superinterfaces:
ApiGatewayV2Request.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<ExportApiRequest.Builder,ExportApiRequest>,SdkBuilder<ExportApiRequest.Builder,ExportApiRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ExportApiRequest
public static interface ExportApiRequest.Builder extends ApiGatewayV2Request.Builder, SdkPojo, CopyableBuilder<ExportApiRequest.Builder,ExportApiRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExportApiRequest.BuilderapiId(String apiId)The API identifier.ExportApiRequest.BuilderexportVersion(String exportVersion)The version of the API Gateway export algorithm.ExportApiRequest.BuilderincludeExtensions(Boolean includeExtensions)Specifies whether to include API Gateway extensions in the exported API definition.ExportApiRequest.BuilderoutputType(String outputType)The output type of the exported definition file.ExportApiRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ExportApiRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ExportApiRequest.Builderspecification(String specification)The version of the API specification to use.ExportApiRequest.BuilderstageName(String stageName)The name of the API stage to export.-
Methods inherited from interface software.amazon.awssdk.services.apigatewayv2.model.ApiGatewayV2Request.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
-
apiId
ExportApiRequest.Builder apiId(String apiId)
The API identifier.
- Parameters:
apiId- The API identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exportVersion
ExportApiRequest.Builder exportVersion(String exportVersion)
The version of the API Gateway export algorithm. API Gateway uses the latest version by default. Currently, the only supported version is 1.0.
- Parameters:
exportVersion- The version of the API Gateway export algorithm. API Gateway uses the latest version by default. Currently, the only supported version is 1.0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeExtensions
ExportApiRequest.Builder includeExtensions(Boolean includeExtensions)
Specifies whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by default.
- Parameters:
includeExtensions- Specifies whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputType
ExportApiRequest.Builder outputType(String outputType)
The output type of the exported definition file. Valid values are JSON and YAML.
- Parameters:
outputType- The output type of the exported definition file. Valid values are JSON and YAML.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
specification
ExportApiRequest.Builder specification(String specification)
The version of the API specification to use. OAS30, for OpenAPI 3.0, is the only supported value.
- Parameters:
specification- The version of the API specification to use. OAS30, for OpenAPI 3.0, is the only supported value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stageName
ExportApiRequest.Builder stageName(String stageName)
The name of the API stage to export. If you don't specify this property, a representation of the latest API configuration is exported.
- Parameters:
stageName- The name of the API stage to export. If you don't specify this property, a representation of the latest API configuration is exported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ExportApiRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ExportApiRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-