Class ComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServicesHeaderAction.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_url_map.ComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServicesHeaderAction.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServicesHeaderAction>
- Enclosing interface:
- ComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServicesHeaderAction
@Stability(Stable) public static final class ComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServicesHeaderAction.Builder extends Object implements software.amazon.jsii.Builder<ComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServicesHeaderAction>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
requestHeadersToAdd
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServicesHeaderAction.Builder requestHeadersToAdd(com.hashicorp.cdktf.IResolvable requestHeadersToAdd)
Sets the value ofComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServicesHeaderAction.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_url_map#request_headers_to_add ComputeUrlMap#request_headers_to_add}- Returns:
this
-
requestHeadersToAdd
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServicesHeaderAction.Builder requestHeadersToAdd(List<? extends ComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServicesHeaderActionRequestHeadersToAdd> requestHeadersToAdd)
Sets the value ofComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServicesHeaderAction.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_url_map#request_headers_to_add ComputeUrlMap#request_headers_to_add}- Returns:
this
-
requestHeadersToRemove
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServicesHeaderAction.Builder requestHeadersToRemove(List<String> requestHeadersToRemove)
Sets the value ofComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServicesHeaderAction.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_url_map#request_headers_to_remove ComputeUrlMap#request_headers_to_remove}- Returns:
this
-
responseHeadersToAdd
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServicesHeaderAction.Builder responseHeadersToAdd(com.hashicorp.cdktf.IResolvable responseHeadersToAdd)
Sets the value ofComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServicesHeaderAction.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_url_map#response_headers_to_add ComputeUrlMap#response_headers_to_add}- Returns:
this
-
responseHeadersToAdd
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServicesHeaderAction.Builder responseHeadersToAdd(List<? extends ComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServicesHeaderActionResponseHeadersToAdd> responseHeadersToAdd)
Sets the value ofComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServicesHeaderAction.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_url_map#response_headers_to_add ComputeUrlMap#response_headers_to_add}- Returns:
this
-
responseHeadersToRemove
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServicesHeaderAction.Builder responseHeadersToRemove(List<String> responseHeadersToRemove)
Sets the value ofComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServicesHeaderAction.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_url_map#response_headers_to_remove ComputeUrlMap#response_headers_to_remove}- Returns:
this
-
build
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServicesHeaderAction build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServicesHeaderAction>- Returns:
- a new instance of
ComputeUrlMapPathMatcherRouteRulesRouteActionWeightedBackendServicesHeaderAction - Throws:
NullPointerException- if any required attribute was not provided
-
-