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