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