@Stability(value=Experimental) public static final class ApiMappingProps.Builder extends Object implements software.amazon.jsii.Builder<ApiMappingProps>
ApiMappingProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ApiMappingProps.Builder |
api(IApi api)
Sets the value of
ApiMappingProps.getApi() |
ApiMappingProps.Builder |
apiMappingKey(String apiMappingKey)
Sets the value of
ApiMappingProps.getApiMappingKey() |
ApiMappingProps |
build()
Builds the configured instance.
|
ApiMappingProps.Builder |
domainName(IDomainName domainName)
Sets the value of
ApiMappingProps.getDomainName() |
ApiMappingProps.Builder |
stage(IStage stage)
Sets the value of
ApiMappingProps.getStage() |
@Stability(value=Experimental) public ApiMappingProps.Builder api(IApi api)
ApiMappingProps.getApi()api - The Api to which this mapping is applied. This parameter is required.this@Stability(value=Experimental) public ApiMappingProps.Builder domainName(IDomainName domainName)
ApiMappingProps.getDomainName()domainName - custom domain name of the mapping target. This parameter is required.this@Stability(value=Experimental) public ApiMappingProps.Builder apiMappingKey(String apiMappingKey)
ApiMappingProps.getApiMappingKey()apiMappingKey - Api mapping key.
The path where this stage should be mapped to on the domainthis@Stability(value=Experimental) public ApiMappingProps.Builder stage(IStage stage)
ApiMappingProps.getStage()stage - stage for the ApiMapping resource required for WebSocket API defaults to default stage of an HTTP API.this@Stability(value=Experimental) public ApiMappingProps build()
build in interface software.amazon.jsii.Builder<ApiMappingProps>ApiMappingPropsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.