Class ComputeUrlMapPathMatcherPathRuleRouteActionUrlRewrite.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_url_map.ComputeUrlMapPathMatcherPathRuleRouteActionUrlRewrite.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeUrlMapPathMatcherPathRuleRouteActionUrlRewrite>
- Enclosing interface:
- ComputeUrlMapPathMatcherPathRuleRouteActionUrlRewrite
@Stability(Stable) public static final class ComputeUrlMapPathMatcherPathRuleRouteActionUrlRewrite.Builder extends Object implements software.amazon.jsii.Builder<ComputeUrlMapPathMatcherPathRuleRouteActionUrlRewrite>
A builder forComputeUrlMapPathMatcherPathRuleRouteActionUrlRewrite
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeUrlMapPathMatcherPathRuleRouteActionUrlRewritebuild()Builds the configured instance.ComputeUrlMapPathMatcherPathRuleRouteActionUrlRewrite.BuilderhostRewrite(String hostRewrite)Sets the value ofComputeUrlMapPathMatcherPathRuleRouteActionUrlRewrite.getHostRewrite()ComputeUrlMapPathMatcherPathRuleRouteActionUrlRewrite.BuilderpathPrefixRewrite(String pathPrefixRewrite)
-
-
-
Method Detail
-
hostRewrite
@Stability(Stable) public ComputeUrlMapPathMatcherPathRuleRouteActionUrlRewrite.Builder hostRewrite(String hostRewrite)
Sets the value ofComputeUrlMapPathMatcherPathRuleRouteActionUrlRewrite.getHostRewrite()- Parameters:
hostRewrite- Prior to forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be between 1 and 255 characters. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#host_rewrite ComputeUrlMap#host_rewrite}- Returns:
this
-
pathPrefixRewrite
@Stability(Stable) public ComputeUrlMapPathMatcherPathRuleRouteActionUrlRewrite.Builder pathPrefixRewrite(String pathPrefixRewrite)
- Parameters:
pathPrefixRewrite- Prior to forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be between 1 and 1024 characters. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#path_prefix_rewrite ComputeUrlMap#path_prefix_rewrite}- Returns:
this
-
build
@Stability(Stable) public ComputeUrlMapPathMatcherPathRuleRouteActionUrlRewrite build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeUrlMapPathMatcherPathRuleRouteActionUrlRewrite>- Returns:
- a new instance of
ComputeUrlMapPathMatcherPathRuleRouteActionUrlRewrite - Throws:
NullPointerException- if any required attribute was not provided
-
-