Class ComputeUrlMapPathMatcherDefaultRouteAction.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_url_map.ComputeUrlMapPathMatcherDefaultRouteAction.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeUrlMapPathMatcherDefaultRouteAction>
- Enclosing interface:
- ComputeUrlMapPathMatcherDefaultRouteAction
@Stability(Stable) public static final class ComputeUrlMapPathMatcherDefaultRouteAction.Builder extends Object implements software.amazon.jsii.Builder<ComputeUrlMapPathMatcherDefaultRouteAction>
A builder forComputeUrlMapPathMatcherDefaultRouteAction
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
corsPolicy
@Stability(Stable) public ComputeUrlMapPathMatcherDefaultRouteAction.Builder corsPolicy(ComputeUrlMapPathMatcherDefaultRouteActionCorsPolicy corsPolicy)
Sets the value ofComputeUrlMapPathMatcherDefaultRouteAction.getCorsPolicy()- Parameters:
corsPolicy- cors_policy block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#cors_policy ComputeUrlMap#cors_policy}- Returns:
this
-
faultInjectionPolicy
@Stability(Stable) public ComputeUrlMapPathMatcherDefaultRouteAction.Builder faultInjectionPolicy(ComputeUrlMapPathMatcherDefaultRouteActionFaultInjectionPolicy faultInjectionPolicy)
Sets the value ofComputeUrlMapPathMatcherDefaultRouteAction.getFaultInjectionPolicy()- Parameters:
faultInjectionPolicy- fault_injection_policy block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#fault_injection_policy ComputeUrlMap#fault_injection_policy}- Returns:
this
-
requestMirrorPolicy
@Stability(Stable) public ComputeUrlMapPathMatcherDefaultRouteAction.Builder requestMirrorPolicy(ComputeUrlMapPathMatcherDefaultRouteActionRequestMirrorPolicy requestMirrorPolicy)
Sets the value ofComputeUrlMapPathMatcherDefaultRouteAction.getRequestMirrorPolicy()- Parameters:
requestMirrorPolicy- request_mirror_policy block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#request_mirror_policy ComputeUrlMap#request_mirror_policy}- Returns:
this
-
retryPolicy
@Stability(Stable) public ComputeUrlMapPathMatcherDefaultRouteAction.Builder retryPolicy(ComputeUrlMapPathMatcherDefaultRouteActionRetryPolicy retryPolicy)
Sets the value ofComputeUrlMapPathMatcherDefaultRouteAction.getRetryPolicy()- Parameters:
retryPolicy- retry_policy block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#retry_policy ComputeUrlMap#retry_policy}- Returns:
this
-
timeout
@Stability(Stable) public ComputeUrlMapPathMatcherDefaultRouteAction.Builder timeout(ComputeUrlMapPathMatcherDefaultRouteActionTimeout timeout)
Sets the value ofComputeUrlMapPathMatcherDefaultRouteAction.getTimeout()- Parameters:
timeout- timeout block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#timeout ComputeUrlMap#timeout}- Returns:
this
-
urlRewrite
@Stability(Stable) public ComputeUrlMapPathMatcherDefaultRouteAction.Builder urlRewrite(ComputeUrlMapPathMatcherDefaultRouteActionUrlRewrite urlRewrite)
Sets the value ofComputeUrlMapPathMatcherDefaultRouteAction.getUrlRewrite()- Parameters:
urlRewrite- url_rewrite block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#url_rewrite ComputeUrlMap#url_rewrite}- Returns:
this
-
weightedBackendServices
@Stability(Stable) public ComputeUrlMapPathMatcherDefaultRouteAction.Builder weightedBackendServices(com.hashicorp.cdktf.IResolvable weightedBackendServices)
Sets the value ofComputeUrlMapPathMatcherDefaultRouteAction.getWeightedBackendServices()- Parameters:
weightedBackendServices- weighted_backend_services block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#weighted_backend_services ComputeUrlMap#weighted_backend_services}- Returns:
this
-
weightedBackendServices
@Stability(Stable) public ComputeUrlMapPathMatcherDefaultRouteAction.Builder weightedBackendServices(List<? extends ComputeUrlMapPathMatcherDefaultRouteActionWeightedBackendServices> weightedBackendServices)
Sets the value ofComputeUrlMapPathMatcherDefaultRouteAction.getWeightedBackendServices()- Parameters:
weightedBackendServices- weighted_backend_services block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#weighted_backend_services ComputeUrlMap#weighted_backend_services}- Returns:
this
-
build
@Stability(Stable) public ComputeUrlMapPathMatcherDefaultRouteAction build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeUrlMapPathMatcherDefaultRouteAction>- Returns:
- a new instance of
ComputeUrlMapPathMatcherDefaultRouteAction - Throws:
NullPointerException- if any required attribute was not provided
-
-