Class CfnBasePathMapping.Builder
java.lang.Object
software.amazon.awscdk.services.apigateway.CfnBasePathMapping.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBasePathMapping>
- Enclosing class:
CfnBasePathMapping
@Stability(Stable)
public static final class CfnBasePathMapping.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBasePathMapping>
A fluent builder for
CfnBasePathMapping
.-
Method Summary
Modifier and TypeMethodDescriptionThe base path name that callers of the API must provide as part of the URL after the domain name.build()
static CfnBasePathMapping.Builder
domainName
(String domainName) The domain name of the BasePathMapping resource to be described.The string identifier of the associated RestApi.The name of the associated stage.
-
Method Details
-
create
@Stability(Stable) public static CfnBasePathMapping.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnBasePathMapping.Builder
.
-
domainName
The domain name of the BasePathMapping resource to be described.- Parameters:
domainName
- The domain name of the BasePathMapping resource to be described. This parameter is required.- Returns:
this
- See Also:
-
basePath
The base path name that callers of the API must provide as part of the URL after the domain name.- Parameters:
basePath
- The base path name that callers of the API must provide as part of the URL after the domain name. This parameter is required.- Returns:
this
- See Also:
-
id
- Parameters:
id
- This parameter is required.- Returns:
this
- See Also:
-
restApiId
The string identifier of the associated RestApi.- Parameters:
restApiId
- The string identifier of the associated RestApi. This parameter is required.- Returns:
this
- See Also:
-
stage
The name of the associated stage.- Parameters:
stage
- The name of the associated stage. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBasePathMapping>
- Returns:
- a newly built instance of
CfnBasePathMapping
.
-