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