Class OpenApiSpecConfig.Builder
- java.lang.Object
-
- software.aws.awsprototypingsdk.openapigateway.OpenApiSpecConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OpenApiSpecConfig>
- Enclosing interface:
- OpenApiSpecConfig
@Stability(Experimental) public static final class OpenApiSpecConfig.Builder extends Object implements software.amazon.jsii.Builder<OpenApiSpecConfig>
A builder forOpenApiSpecConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenApiSpecConfigbuild()Builds the configured instance.OpenApiSpecConfig.BuilderparsedSpecFileName(String parsedSpecFileName)Sets the value ofOpenApiSpecConfig.getParsedSpecFileName()OpenApiSpecConfig.BuilderspecFileName(String specFileName)Sets the value ofOpenApiSpecConfig.getSpecFileName()
-
-
-
Method Detail
-
parsedSpecFileName
@Stability(Experimental) public OpenApiSpecConfig.Builder parsedSpecFileName(String parsedSpecFileName)
Sets the value ofOpenApiSpecConfig.getParsedSpecFileName()- Parameters:
parsedSpecFileName- The name of the output parsed OpenAPI specification file. Must end with .json.- Returns:
this
-
specFileName
@Stability(Experimental) public OpenApiSpecConfig.Builder specFileName(String specFileName)
Sets the value ofOpenApiSpecConfig.getSpecFileName()- Parameters:
specFileName- The name of the OpenAPI specification file.- Returns:
this
-
build
@Stability(Experimental) public OpenApiSpecConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OpenApiSpecConfig>- Returns:
- a new instance of
OpenApiSpecConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-