@Stability(value=Experimental) public static final class HttpStageProps.Builder extends Object implements software.amazon.jsii.Builder<HttpStageProps>
HttpStageProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
HttpStageProps.Builder |
autoDeploy(Boolean autoDeploy)
Sets the value of
StageOptions.getAutoDeploy() |
HttpStageProps |
build()
Builds the configured instance.
|
HttpStageProps.Builder |
domainMapping(DomainMappingOptions domainMapping)
Sets the value of
StageOptions.getDomainMapping() |
HttpStageProps.Builder |
httpApi(IHttpApi httpApi)
Sets the value of
HttpStageProps.getHttpApi() |
HttpStageProps.Builder |
stageName(String stageName)
Sets the value of
HttpStageOptions.getStageName() |
@Stability(value=Experimental) public HttpStageProps.Builder httpApi(IHttpApi httpApi)
HttpStageProps.getHttpApi()httpApi - The HTTP API to which this stage is associated. This parameter is required.this@Stability(value=Experimental) public HttpStageProps.Builder stageName(String stageName)
HttpStageOptions.getStageName()stageName - The name of the stage.
See StageName class for more details.this@Stability(value=Experimental) public HttpStageProps.Builder autoDeploy(Boolean autoDeploy)
StageOptions.getAutoDeploy()autoDeploy - Whether updates to an API automatically trigger a new deployment.this@Stability(value=Experimental) public HttpStageProps.Builder domainMapping(DomainMappingOptions domainMapping)
StageOptions.getDomainMapping()domainMapping - The options for custom domain and api mapping.this@Stability(value=Experimental) public HttpStageProps build()
build in interface software.amazon.jsii.Builder<HttpStageProps>HttpStagePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.