public static final class HttpGatewayRoutePathMatchConfig.Builder
extends java.lang.Object
HttpGatewayRoutePathMatchConfig
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HttpGatewayRoutePathMatchConfig |
build()
Builds the configured instance.
|
HttpGatewayRoutePathMatchConfig.Builder |
prefixPathMatch(java.lang.String prefixPathMatch)
Sets the value of
HttpGatewayRoutePathMatchConfig.getPrefixPathMatch() |
HttpGatewayRoutePathMatchConfig.Builder |
prefixPathRewrite(CfnGatewayRoute.HttpGatewayRoutePrefixRewriteProperty prefixPathRewrite)
Sets the value of
HttpGatewayRoutePathMatchConfig.getPrefixPathRewrite() |
HttpGatewayRoutePathMatchConfig.Builder |
wholePathMatch(CfnGatewayRoute.HttpPathMatchProperty wholePathMatch)
Sets the value of
HttpGatewayRoutePathMatchConfig.getWholePathMatch() |
HttpGatewayRoutePathMatchConfig.Builder |
wholePathRewrite(CfnGatewayRoute.HttpGatewayRoutePathRewriteProperty wholePathRewrite)
Sets the value of
HttpGatewayRoutePathMatchConfig.getWholePathRewrite() |
public HttpGatewayRoutePathMatchConfig.Builder prefixPathMatch(java.lang.String prefixPathMatch)
HttpGatewayRoutePathMatchConfig.getPrefixPathMatch()
prefixPathMatch
- Gateway route configuration for matching on the prefix of the URL path of the request.this
public HttpGatewayRoutePathMatchConfig.Builder prefixPathRewrite(CfnGatewayRoute.HttpGatewayRoutePrefixRewriteProperty prefixPathRewrite)
HttpGatewayRoutePathMatchConfig.getPrefixPathRewrite()
prefixPathRewrite
- Gateway route configuration for rewriting the prefix of the URL path of the request.this
public HttpGatewayRoutePathMatchConfig.Builder wholePathMatch(CfnGatewayRoute.HttpPathMatchProperty wholePathMatch)
HttpGatewayRoutePathMatchConfig.getWholePathMatch()
wholePathMatch
- Gateway route configuration for matching on the complete URL path of the request.this
public HttpGatewayRoutePathMatchConfig.Builder wholePathRewrite(CfnGatewayRoute.HttpGatewayRoutePathRewriteProperty wholePathRewrite)
HttpGatewayRoutePathMatchConfig.getWholePathRewrite()
wholePathRewrite
- Gateway route configuration for rewriting the complete URL path of the request..this
public HttpGatewayRoutePathMatchConfig build()
HttpGatewayRoutePathMatchConfig
java.lang.NullPointerException
- if any required attribute was not provided