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