public static final class HttpRoutePathMatchConfig.Builder
extends java.lang.Object
HttpRoutePathMatchConfig
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HttpRoutePathMatchConfig |
build()
Builds the configured instance.
|
HttpRoutePathMatchConfig.Builder |
prefixPathMatch(java.lang.String prefixPathMatch)
Sets the value of
HttpRoutePathMatchConfig.getPrefixPathMatch() |
HttpRoutePathMatchConfig.Builder |
wholePathMatch(CfnRoute.HttpPathMatchProperty wholePathMatch)
Sets the value of
HttpRoutePathMatchConfig.getWholePathMatch() |
public HttpRoutePathMatchConfig.Builder prefixPathMatch(java.lang.String prefixPathMatch)
HttpRoutePathMatchConfig.getPrefixPathMatch()
prefixPathMatch
- Route configuration for matching on the prefix of the URL path of the request.this
public HttpRoutePathMatchConfig.Builder wholePathMatch(CfnRoute.HttpPathMatchProperty wholePathMatch)
HttpRoutePathMatchConfig.getWholePathMatch()
wholePathMatch
- Route configuration for matching on the complete URL path of the request.this
public HttpRoutePathMatchConfig build()
HttpRoutePathMatchConfig
java.lang.NullPointerException
- if any required attribute was not provided