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