Class ComputeRegionUrlMapPathMatcherPathRuleRouteAction.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_region_url_map.ComputeRegionUrlMapPathMatcherPathRuleRouteAction.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeRegionUrlMapPathMatcherPathRuleRouteAction>
- Enclosing interface:
- ComputeRegionUrlMapPathMatcherPathRuleRouteAction
@Stability(Stable) public static final class ComputeRegionUrlMapPathMatcherPathRuleRouteAction.Builder extends Object implements software.amazon.jsii.Builder<ComputeRegionUrlMapPathMatcherPathRuleRouteAction>
A builder forComputeRegionUrlMapPathMatcherPathRuleRouteAction
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
corsPolicy
@Stability(Stable) public ComputeRegionUrlMapPathMatcherPathRuleRouteAction.Builder corsPolicy(ComputeRegionUrlMapPathMatcherPathRuleRouteActionCorsPolicy corsPolicy)
Sets the value ofComputeRegionUrlMapPathMatcherPathRuleRouteAction.getCorsPolicy()- Parameters:
corsPolicy- cors_policy block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#cors_policy ComputeRegionUrlMap#cors_policy}- Returns:
this
-
faultInjectionPolicy
@Stability(Stable) public ComputeRegionUrlMapPathMatcherPathRuleRouteAction.Builder faultInjectionPolicy(ComputeRegionUrlMapPathMatcherPathRuleRouteActionFaultInjectionPolicy faultInjectionPolicy)
- Parameters:
faultInjectionPolicy- fault_injection_policy block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#fault_injection_policy ComputeRegionUrlMap#fault_injection_policy}- Returns:
this
-
requestMirrorPolicy
@Stability(Stable) public ComputeRegionUrlMapPathMatcherPathRuleRouteAction.Builder requestMirrorPolicy(ComputeRegionUrlMapPathMatcherPathRuleRouteActionRequestMirrorPolicy requestMirrorPolicy)
- Parameters:
requestMirrorPolicy- request_mirror_policy block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#request_mirror_policy ComputeRegionUrlMap#request_mirror_policy}- Returns:
this
-
retryPolicy
@Stability(Stable) public ComputeRegionUrlMapPathMatcherPathRuleRouteAction.Builder retryPolicy(ComputeRegionUrlMapPathMatcherPathRuleRouteActionRetryPolicy retryPolicy)
Sets the value ofComputeRegionUrlMapPathMatcherPathRuleRouteAction.getRetryPolicy()- Parameters:
retryPolicy- retry_policy block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#retry_policy ComputeRegionUrlMap#retry_policy}- Returns:
this
-
timeout
@Stability(Stable) public ComputeRegionUrlMapPathMatcherPathRuleRouteAction.Builder timeout(ComputeRegionUrlMapPathMatcherPathRuleRouteActionTimeout timeout)
Sets the value ofComputeRegionUrlMapPathMatcherPathRuleRouteAction.getTimeout()- Parameters:
timeout- timeout block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#timeout ComputeRegionUrlMap#timeout}- Returns:
this
-
urlRewrite
@Stability(Stable) public ComputeRegionUrlMapPathMatcherPathRuleRouteAction.Builder urlRewrite(ComputeRegionUrlMapPathMatcherPathRuleRouteActionUrlRewrite urlRewrite)
Sets the value ofComputeRegionUrlMapPathMatcherPathRuleRouteAction.getUrlRewrite()- Parameters:
urlRewrite- url_rewrite block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#url_rewrite ComputeRegionUrlMap#url_rewrite}- Returns:
this
-
weightedBackendServices
@Stability(Stable) public ComputeRegionUrlMapPathMatcherPathRuleRouteAction.Builder weightedBackendServices(com.hashicorp.cdktf.IResolvable weightedBackendServices)
- Parameters:
weightedBackendServices- weighted_backend_services block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#weighted_backend_services ComputeRegionUrlMap#weighted_backend_services}- Returns:
this
-
weightedBackendServices
@Stability(Stable) public ComputeRegionUrlMapPathMatcherPathRuleRouteAction.Builder weightedBackendServices(List<? extends ComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServices> weightedBackendServices)
- Parameters:
weightedBackendServices- weighted_backend_services block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#weighted_backend_services ComputeRegionUrlMap#weighted_backend_services}- Returns:
this
-
build
@Stability(Stable) public ComputeRegionUrlMapPathMatcherPathRuleRouteAction build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeRegionUrlMapPathMatcherPathRuleRouteAction>- Returns:
- a new instance of
ComputeRegionUrlMapPathMatcherPathRuleRouteAction - Throws:
NullPointerException- if any required attribute was not provided
-
-