Class CfnRule.PathMatchTypeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.vpclattice.CfnRule.PathMatchTypeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRule.PathMatchTypeProperty>
- Enclosing interface:
CfnRule.PathMatchTypeProperty
@Stability(Stable)
public static final class CfnRule.PathMatchTypeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRule.PathMatchTypeProperty>
A builder for
CfnRule.PathMatchTypeProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnRule.PathMatchTypeProperty.getExact()
Sets the value ofCfnRule.PathMatchTypeProperty.getPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
exact
Sets the value ofCfnRule.PathMatchTypeProperty.getExact()
- Parameters:
exact
- An exact match of the path.- Returns:
this
-
prefix
Sets the value ofCfnRule.PathMatchTypeProperty.getPrefix()
- Parameters:
prefix
- A prefix match of the path.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRule.PathMatchTypeProperty>
- Returns:
- a new instance of
CfnRule.PathMatchTypeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-