Class BasePathMappingV2Reference.Builder
java.lang.Object
software.amazon.awscdk.services.apigateway.BasePathMappingV2Reference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BasePathMappingV2Reference>
- Enclosing interface:
BasePathMappingV2Reference
@Stability(Stable)
public static final class BasePathMappingV2Reference.Builder
extends Object
implements software.amazon.jsii.Builder<BasePathMappingV2Reference>
A builder for
BasePathMappingV2Reference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbasePathMappingArn
(String basePathMappingArn) Sets the value ofBasePathMappingV2Reference.getBasePathMappingArn()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
basePathMappingArn
@Stability(Stable) public BasePathMappingV2Reference.Builder basePathMappingArn(String basePathMappingArn) Sets the value ofBasePathMappingV2Reference.getBasePathMappingArn()
- Parameters:
basePathMappingArn
- The BasePathMappingArn of the BasePathMappingV2 resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<BasePathMappingV2Reference>
- Returns:
- a new instance of
BasePathMappingV2Reference
- Throws:
NullPointerException
- if any required attribute was not provided
-