Class ComputeUrlMapPathMatcherRouteRulesRouteAction.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_url_map.ComputeUrlMapPathMatcherRouteRulesRouteAction.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeUrlMapPathMatcherRouteRulesRouteAction>
- Enclosing interface:
- ComputeUrlMapPathMatcherRouteRulesRouteAction
@Stability(Stable) public static final class ComputeUrlMapPathMatcherRouteRulesRouteAction.Builder extends Object implements software.amazon.jsii.Builder<ComputeUrlMapPathMatcherRouteRulesRouteAction>
A builder forComputeUrlMapPathMatcherRouteRulesRouteAction
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
corsPolicy
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesRouteAction.Builder corsPolicy(ComputeUrlMapPathMatcherRouteRulesRouteActionCorsPolicy corsPolicy)
Sets the value ofComputeUrlMapPathMatcherRouteRulesRouteAction.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 ComputeUrlMapPathMatcherRouteRulesRouteAction.Builder faultInjectionPolicy(ComputeUrlMapPathMatcherRouteRulesRouteActionFaultInjectionPolicy faultInjectionPolicy)
Sets the value ofComputeUrlMapPathMatcherRouteRulesRouteAction.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 ComputeUrlMapPathMatcherRouteRulesRouteAction.Builder requestMirrorPolicy(ComputeUrlMapPathMatcherRouteRulesRouteActionRequestMirrorPolicy requestMirrorPolicy)
Sets the value ofComputeUrlMapPathMatcherRouteRulesRouteAction.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 ComputeUrlMapPathMatcherRouteRulesRouteAction.Builder retryPolicy(ComputeUrlMapPathMatcherRouteRulesRouteActionRetryPolicy retryPolicy)
Sets the value ofComputeUrlMapPathMatcherRouteRulesRouteAction.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 ComputeUrlMapPathMatcherRouteRulesRouteAction.Builder timeout(ComputeUrlMapPathMatcherRouteRulesRouteActionTimeout timeout)
Sets the value ofComputeUrlMapPathMatcherRouteRulesRouteAction.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 ComputeUrlMapPathMatcherRouteRulesRouteAction.Builder urlRewrite(ComputeUrlMapPathMatcherRouteRulesRouteActionUrlRewrite urlRewrite)
Sets the value ofComputeUrlMapPathMatcherRouteRulesRouteAction.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 ComputeUrlMapPathMatcherRouteRulesRouteAction.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_url_map#weighted_backend_services ComputeUrlMap#weighted_backend_services}- Returns:
this
-
weightedBackendServices
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesRouteAction.Builder weightedBackendServices(List<? extends ComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServices> 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_url_map#weighted_backend_services ComputeUrlMap#weighted_backend_services}- Returns:
this
-
build
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesRouteAction build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeUrlMapPathMatcherRouteRulesRouteAction>- Returns:
- a new instance of
ComputeUrlMapPathMatcherRouteRulesRouteAction - Throws:
NullPointerException- if any required attribute was not provided
-
-