Class ComputeUrlMapPathMatcherPathRuleRouteAction.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_url_map.ComputeUrlMapPathMatcherPathRuleRouteAction.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeUrlMapPathMatcherPathRuleRouteAction>
- Enclosing interface:
- ComputeUrlMapPathMatcherPathRuleRouteAction
@Stability(Stable) public static final class ComputeUrlMapPathMatcherPathRuleRouteAction.Builder extends Object implements software.amazon.jsii.Builder<ComputeUrlMapPathMatcherPathRuleRouteAction>
A builder forComputeUrlMapPathMatcherPathRuleRouteAction
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
corsPolicy
@Stability(Stable) public ComputeUrlMapPathMatcherPathRuleRouteAction.Builder corsPolicy(ComputeUrlMapPathMatcherPathRuleRouteActionCorsPolicy corsPolicy)
Sets the value ofComputeUrlMapPathMatcherPathRuleRouteAction.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 ComputeUrlMapPathMatcherPathRuleRouteAction.Builder faultInjectionPolicy(ComputeUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicy faultInjectionPolicy)
Sets the value ofComputeUrlMapPathMatcherPathRuleRouteAction.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 ComputeUrlMapPathMatcherPathRuleRouteAction.Builder requestMirrorPolicy(ComputeUrlMapPathMatcherPathRuleRouteActionRequestMirrorPolicy requestMirrorPolicy)
Sets the value ofComputeUrlMapPathMatcherPathRuleRouteAction.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 ComputeUrlMapPathMatcherPathRuleRouteAction.Builder retryPolicy(ComputeUrlMapPathMatcherPathRuleRouteActionRetryPolicy retryPolicy)
Sets the value ofComputeUrlMapPathMatcherPathRuleRouteAction.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 ComputeUrlMapPathMatcherPathRuleRouteAction.Builder timeout(ComputeUrlMapPathMatcherPathRuleRouteActionTimeout timeout)
Sets the value ofComputeUrlMapPathMatcherPathRuleRouteAction.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 ComputeUrlMapPathMatcherPathRuleRouteAction.Builder urlRewrite(ComputeUrlMapPathMatcherPathRuleRouteActionUrlRewrite urlRewrite)
Sets the value ofComputeUrlMapPathMatcherPathRuleRouteAction.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 ComputeUrlMapPathMatcherPathRuleRouteAction.Builder weightedBackendServices(com.hashicorp.cdktf.IResolvable weightedBackendServices)
Sets the value ofComputeUrlMapPathMatcherPathRuleRouteAction.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 ComputeUrlMapPathMatcherPathRuleRouteAction.Builder weightedBackendServices(List<? extends ComputeUrlMapPathMatcherPathRuleRouteActionWeightedBackendServices> weightedBackendServices)
Sets the value ofComputeUrlMapPathMatcherPathRuleRouteAction.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 ComputeUrlMapPathMatcherPathRuleRouteAction build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeUrlMapPathMatcherPathRuleRouteAction>- Returns:
- a new instance of
ComputeUrlMapPathMatcherPathRuleRouteAction - Throws:
NullPointerException- if any required attribute was not provided
-
-