Class ComputeUrlMapPathMatcherDefaultRouteActionUrlRewrite.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_url_map.ComputeUrlMapPathMatcherDefaultRouteActionUrlRewrite.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeUrlMapPathMatcherDefaultRouteActionUrlRewrite>
- Enclosing interface:
- ComputeUrlMapPathMatcherDefaultRouteActionUrlRewrite
@Stability(Stable) public static final class ComputeUrlMapPathMatcherDefaultRouteActionUrlRewrite.Builder extends Object implements software.amazon.jsii.Builder<ComputeUrlMapPathMatcherDefaultRouteActionUrlRewrite>
A builder forComputeUrlMapPathMatcherDefaultRouteActionUrlRewrite
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeUrlMapPathMatcherDefaultRouteActionUrlRewritebuild()Builds the configured instance.ComputeUrlMapPathMatcherDefaultRouteActionUrlRewrite.BuilderhostRewrite(String hostRewrite)Sets the value ofComputeUrlMapPathMatcherDefaultRouteActionUrlRewrite.getHostRewrite()ComputeUrlMapPathMatcherDefaultRouteActionUrlRewrite.BuilderpathPrefixRewrite(String pathPrefixRewrite)
-
-
-
Method Detail
-
hostRewrite
@Stability(Stable) public ComputeUrlMapPathMatcherDefaultRouteActionUrlRewrite.Builder hostRewrite(String hostRewrite)
Sets the value ofComputeUrlMapPathMatcherDefaultRouteActionUrlRewrite.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 ComputeUrlMapPathMatcherDefaultRouteActionUrlRewrite.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 ComputeUrlMapPathMatcherDefaultRouteActionUrlRewrite build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeUrlMapPathMatcherDefaultRouteActionUrlRewrite>- Returns:
- a new instance of
ComputeUrlMapPathMatcherDefaultRouteActionUrlRewrite - Throws:
NullPointerException- if any required attribute was not provided
-
-