Class ComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServicesHeaderAction.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_region_url_map.ComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServicesHeaderAction.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServicesHeaderAction>
- Enclosing interface:
- ComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServicesHeaderAction
@Stability(Stable) public static final class ComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServicesHeaderAction.Builder extends Object implements software.amazon.jsii.Builder<ComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServicesHeaderAction>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
requestHeadersToAdd
@Stability(Stable) public ComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServicesHeaderAction.Builder requestHeadersToAdd(com.hashicorp.cdktf.IResolvable requestHeadersToAdd)
Sets the value ofComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServicesHeaderAction.getRequestHeadersToAdd()- Parameters:
requestHeadersToAdd- request_headers_to_add block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#request_headers_to_add ComputeRegionUrlMap#request_headers_to_add}- Returns:
this
-
requestHeadersToAdd
@Stability(Stable) public ComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServicesHeaderAction.Builder requestHeadersToAdd(List<? extends ComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServicesHeaderActionRequestHeadersToAdd> requestHeadersToAdd)
Sets the value ofComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServicesHeaderAction.getRequestHeadersToAdd()- Parameters:
requestHeadersToAdd- request_headers_to_add block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#request_headers_to_add ComputeRegionUrlMap#request_headers_to_add}- Returns:
this
-
requestHeadersToRemove
@Stability(Stable) public ComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServicesHeaderAction.Builder requestHeadersToRemove(List<String> requestHeadersToRemove)
Sets the value ofComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServicesHeaderAction.getRequestHeadersToRemove()- Parameters:
requestHeadersToRemove- A list of header names for headers that need to be removed from the request prior to forwarding the request to the backendService. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#request_headers_to_remove ComputeRegionUrlMap#request_headers_to_remove}- Returns:
this
-
responseHeadersToAdd
@Stability(Stable) public ComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServicesHeaderAction.Builder responseHeadersToAdd(com.hashicorp.cdktf.IResolvable responseHeadersToAdd)
Sets the value ofComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServicesHeaderAction.getResponseHeadersToAdd()- Parameters:
responseHeadersToAdd- response_headers_to_add block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#response_headers_to_add ComputeRegionUrlMap#response_headers_to_add}- Returns:
this
-
responseHeadersToAdd
@Stability(Stable) public ComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServicesHeaderAction.Builder responseHeadersToAdd(List<? extends ComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServicesHeaderActionResponseHeadersToAdd> responseHeadersToAdd)
Sets the value ofComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServicesHeaderAction.getResponseHeadersToAdd()- Parameters:
responseHeadersToAdd- response_headers_to_add block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#response_headers_to_add ComputeRegionUrlMap#response_headers_to_add}- Returns:
this
-
responseHeadersToRemove
@Stability(Stable) public ComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServicesHeaderAction.Builder responseHeadersToRemove(List<String> responseHeadersToRemove)
Sets the value ofComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServicesHeaderAction.getResponseHeadersToRemove()- Parameters:
responseHeadersToRemove- A list of header names for headers that need to be removed from the response prior to sending the response back to the client. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#response_headers_to_remove ComputeRegionUrlMap#response_headers_to_remove}- Returns:
this
-
build
@Stability(Stable) public ComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServicesHeaderAction build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServicesHeaderAction>- Returns:
- a new instance of
ComputeRegionUrlMapPathMatcherPathRuleRouteActionWeightedBackendServicesHeaderAction - Throws:
NullPointerException- if any required attribute was not provided
-
-