Class CfnBasePathMappingProps.Builder
java.lang.Object
software.amazon.awscdk.services.apigateway.CfnBasePathMappingProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBasePathMappingProps>
- Enclosing interface:
CfnBasePathMappingProps
@Stability(Stable)
public static final class CfnBasePathMappingProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBasePathMappingProps>
A builder for
CfnBasePathMappingProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnBasePathMappingProps.getBasePath()build()Builds the configured instance.domainName(String domainName) Sets the value ofCfnBasePathMappingProps.getDomainName()domainName(IDomainNameRef domainName) Sets the value ofCfnBasePathMappingProps.getDomainName()Sets the value ofCfnBasePathMappingProps.getId()Sets the value ofCfnBasePathMappingProps.getRestApiId()restApiId(IRestApiRef restApiId) Sets the value ofCfnBasePathMappingProps.getRestApiId()Sets the value ofCfnBasePathMappingProps.getStage()Sets the value ofCfnBasePathMappingProps.getStage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainName
Sets the value ofCfnBasePathMappingProps.getDomainName()- Parameters:
domainName- The domain name of the BasePathMapping resource to be described. This parameter is required.- Returns:
this
-
domainName
Sets the value ofCfnBasePathMappingProps.getDomainName()- Parameters:
domainName- The domain name of the BasePathMapping resource to be described. This parameter is required.- Returns:
this
-
basePath
Sets the value ofCfnBasePathMappingProps.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
-
id
Sets the value ofCfnBasePathMappingProps.getId()- Parameters:
id- the value to be set.- Returns:
this
-
restApiId
Sets the value ofCfnBasePathMappingProps.getRestApiId()- Parameters:
restApiId- The string identifier of the associated RestApi.- Returns:
this
-
restApiId
Sets the value ofCfnBasePathMappingProps.getRestApiId()- Parameters:
restApiId- The string identifier of the associated RestApi.- Returns:
this
-
stage
Sets the value ofCfnBasePathMappingProps.getStage()- Parameters:
stage- The name of the associated stage.- Returns:
this
-
stage
Sets the value ofCfnBasePathMappingProps.getStage()- Parameters:
stage- The name of the associated stage.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBasePathMappingProps>- Returns:
- a new instance of
CfnBasePathMappingProps - Throws:
NullPointerException- if any required attribute was not provided
-