Class CfnBasePathMappingV2Props.Builder
java.lang.Object
software.amazon.awscdk.services.apigateway.CfnBasePathMappingV2Props.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBasePathMappingV2Props>
- Enclosing interface:
CfnBasePathMappingV2Props
@Stability(Stable)
public static final class CfnBasePathMappingV2Props.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBasePathMappingV2Props>
A builder for
CfnBasePathMappingV2Props-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnBasePathMappingV2Props.getBasePath()build()Builds the configured instance.domainNameArn(String domainNameArn) Sets the value ofCfnBasePathMappingV2Props.getDomainNameArn()Sets the value ofCfnBasePathMappingV2Props.getRestApiId()Sets the value ofCfnBasePathMappingV2Props.getStage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainNameArn
Sets the value ofCfnBasePathMappingV2Props.getDomainNameArn()- Parameters:
domainNameArn- The ARN of the domain name for the BasePathMappingV2 resource to be described. This parameter is required.- Returns:
this
-
restApiId
Sets the value ofCfnBasePathMappingV2Props.getRestApiId()- Parameters:
restApiId- The private API's identifier. This parameter is required. This identifier is unique across all of your APIs in API Gateway.- Returns:
this
-
basePath
Sets the value ofCfnBasePathMappingV2Props.getBasePath()- Parameters:
basePath- The base path name that callers of the private API must provide as part of the URL after the domain name.- Returns:
this
-
stage
Sets the value ofCfnBasePathMappingV2Props.getStage()- Parameters:
stage- Represents a unique identifier for a version of a deployed private RestApi that is callable by users. The Stage must depend on theRestApi's stage. To create a dependency, add a DependsOn attribute to the BasePathMappingV2 resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBasePathMappingV2Props>- Returns:
- a new instance of
CfnBasePathMappingV2Props - Throws:
NullPointerException- if any required attribute was not provided
-