Class BasePathMappingReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.apigateway.BasePathMappingReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BasePathMappingReference>
- Enclosing interface:
BasePathMappingReference
@Stability(Stable)
public static final class BasePathMappingReference.Builder
extends Object
implements software.amazon.jsii.Builder<BasePathMappingReference>
A builder for
BasePathMappingReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofBasePathMappingReference.getBasePath()build()Builds the configured instance.domainName(String domainName) Sets the value ofBasePathMappingReference.getDomainName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
basePath
Sets the value ofBasePathMappingReference.getBasePath()- Parameters:
basePath- The BasePath of the BasePathMapping resource. This parameter is required.- Returns:
this
-
domainName
Sets the value ofBasePathMappingReference.getDomainName()- Parameters:
domainName- The DomainName of the BasePathMapping resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BasePathMappingReference>- Returns:
- a new instance of
BasePathMappingReference - Throws:
NullPointerException- if any required attribute was not provided
-