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