@Stability(value=Experimental) public static final class BasePathMappingProps.Builder extends Object implements software.amazon.jsii.Builder<BasePathMappingProps>
BasePathMappingProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
BasePathMappingProps.Builder |
basePath(String basePath)
Sets the value of
BasePathMappingOptions.getBasePath() |
BasePathMappingProps |
build()
Builds the configured instance.
|
BasePathMappingProps.Builder |
domainName(IDomainName domainName)
Sets the value of
BasePathMappingProps.getDomainName() |
BasePathMappingProps.Builder |
restApi(IRestApi restApi)
Sets the value of
BasePathMappingProps.getRestApi() |
BasePathMappingProps.Builder |
stage(Stage stage)
Sets the value of
BasePathMappingOptions.getStage() |
@Stability(value=Experimental) public BasePathMappingProps.Builder domainName(IDomainName domainName)
BasePathMappingProps.getDomainName()domainName - The DomainName to associate with this base path mapping. This parameter is required.this@Stability(value=Experimental) public BasePathMappingProps.Builder restApi(IRestApi restApi)
BasePathMappingProps.getRestApi()restApi - The RestApi resource to target. This parameter is required.this@Stability(value=Experimental) public BasePathMappingProps.Builder basePath(String basePath)
BasePathMappingOptions.getBasePath()basePath - The base path name that callers of the API must provide in the URL after the domain name (e.g. `example.com/base-path`). If you specify this property, it can't be an empty string.this@Stability(value=Experimental) public BasePathMappingProps.Builder stage(Stage stage)
BasePathMappingOptions.getStage()stage - The Deployment stage of API [disable-awslint:ref-via-interface].this@Stability(value=Experimental) public BasePathMappingProps build()
build in interface software.amazon.jsii.Builder<BasePathMappingProps>BasePathMappingPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.