Class CfnBasePathMappingMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apigateway.CfnBasePathMappingMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBasePathMappingMixinProps>
- Enclosing interface:
CfnBasePathMappingMixinProps
@Stability(Stable)
public static final class CfnBasePathMappingMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBasePathMappingMixinProps>
A builder for
CfnBasePathMappingMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnBasePathMappingMixinProps.getBasePath()build()Builds the configured instance.domainName(String domainName) Sets the value ofCfnBasePathMappingMixinProps.getDomainName()domainName(IDomainNameRef domainName) Sets the value ofCfnBasePathMappingMixinProps.getDomainName()Sets the value ofCfnBasePathMappingMixinProps.getId()Sets the value ofCfnBasePathMappingMixinProps.getRestApiId()restApiId(IRestApiRef restApiId) Sets the value ofCfnBasePathMappingMixinProps.getRestApiId()Sets the value ofCfnBasePathMappingMixinProps.getStage()Sets the value ofCfnBasePathMappingMixinProps.getStage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
basePath
Sets the value ofCfnBasePathMappingMixinProps.getBasePath()- Parameters:
basePath- The base path name that callers of the API must provide as part of the URL after the domain name.- Returns:
this
-
domainName
Sets the value ofCfnBasePathMappingMixinProps.getDomainName()- Parameters:
domainName- The domain name of the BasePathMapping resource to be described.- Returns:
this
-
domainName
@Stability(Stable) public CfnBasePathMappingMixinProps.Builder domainName(IDomainNameRef domainName) Sets the value ofCfnBasePathMappingMixinProps.getDomainName()- Parameters:
domainName- The domain name of the BasePathMapping resource to be described.- Returns:
this
-
id
Sets the value ofCfnBasePathMappingMixinProps.getId()- Parameters:
id- the value to be set.- Returns:
this
-
restApiId
Sets the value ofCfnBasePathMappingMixinProps.getRestApiId()- Parameters:
restApiId- The string identifier of the associated RestApi.- Returns:
this
-
restApiId
Sets the value ofCfnBasePathMappingMixinProps.getRestApiId()- Parameters:
restApiId- The string identifier of the associated RestApi.- Returns:
this
-
stage
Sets the value ofCfnBasePathMappingMixinProps.getStage()- Parameters:
stage- The name of the associated stage.- Returns:
this
-
stage
Sets the value ofCfnBasePathMappingMixinProps.getStage()- Parameters:
stage- The name of the associated stage.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBasePathMappingMixinProps>- Returns:
- a new instance of
CfnBasePathMappingMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-