Class CfnBasePathMappingV2MixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apigateway.CfnBasePathMappingV2MixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBasePathMappingV2MixinProps>
- Enclosing interface:
CfnBasePathMappingV2MixinProps
@Stability(Stable)
public static final class CfnBasePathMappingV2MixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBasePathMappingV2MixinProps>
A builder for
CfnBasePathMappingV2MixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnBasePathMappingV2MixinProps.getBasePath()build()Builds the configured instance.domainNameArn(String domainNameArn) Sets the value ofCfnBasePathMappingV2MixinProps.getDomainNameArn()Sets the value ofCfnBasePathMappingV2MixinProps.getRestApiId()Sets the value ofCfnBasePathMappingV2MixinProps.getStage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
basePath
Sets the value ofCfnBasePathMappingV2MixinProps.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
-
domainNameArn
@Stability(Stable) public CfnBasePathMappingV2MixinProps.Builder domainNameArn(String domainNameArn) Sets the value ofCfnBasePathMappingV2MixinProps.getDomainNameArn()- Parameters:
domainNameArn- The ARN of the domain name for the BasePathMappingV2 resource to be described.- Returns:
this
-
restApiId
Sets the value ofCfnBasePathMappingV2MixinProps.getRestApiId()- Parameters:
restApiId- The private API's identifier. This identifier is unique across all of your APIs in API Gateway.- Returns:
this
-
stage
Sets the value ofCfnBasePathMappingV2MixinProps.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<CfnBasePathMappingV2MixinProps>- Returns:
- a new instance of
CfnBasePathMappingV2MixinProps - Throws:
NullPointerException- if any required attribute was not provided
-