public static final class CfnGatewayRoute.HttpPathMatchProperty.Builder
extends java.lang.Object
CfnGatewayRoute.HttpPathMatchProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnGatewayRoute.HttpPathMatchProperty |
build()
Builds the configured instance.
|
CfnGatewayRoute.HttpPathMatchProperty.Builder |
exact(java.lang.String exact)
Sets the value of
CfnGatewayRoute.HttpPathMatchProperty.getExact() |
CfnGatewayRoute.HttpPathMatchProperty.Builder |
regex(java.lang.String regex)
Sets the value of
CfnGatewayRoute.HttpPathMatchProperty.getRegex() |
public CfnGatewayRoute.HttpPathMatchProperty.Builder exact(java.lang.String exact)
CfnGatewayRoute.HttpPathMatchProperty.getExact()
exact
- The exact path to match on.this
public CfnGatewayRoute.HttpPathMatchProperty.Builder regex(java.lang.String regex)
CfnGatewayRoute.HttpPathMatchProperty.getRegex()
regex
- The regex used to match the path.this
public CfnGatewayRoute.HttpPathMatchProperty build()
CfnGatewayRoute.HttpPathMatchProperty
java.lang.NullPointerException
- if any required attribute was not provided