Class NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.network_services_edge_cache_service.NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch>
- Enclosing interface:
- NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch
@Stability(Stable) public static final class NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch.Builder extends Object implements software.amazon.jsii.Builder<NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
headerName
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch.Builder headerName(String headerName)
Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch.getHeaderName()- Parameters:
headerName- The header name to match on. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#header_name NetworkServicesEdgeCacheService#header_name}- Returns:
this
-
exactMatch
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch.Builder exactMatch(String exactMatch)
Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch.getExactMatch()- Parameters:
exactMatch- The value of the header should exactly match contents of exactMatch. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#exact_match NetworkServicesEdgeCacheService#exact_match}- Returns:
this
-
invertMatch
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch.Builder invertMatch(Boolean invertMatch)
Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch.getInvertMatch()- Parameters:
invertMatch- If set to false (default), the headerMatch is considered a match if the match criteria above are met. If set to true, the headerMatch is considered a match if the match criteria above are NOT met. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#invert_match NetworkServicesEdgeCacheService#invert_match}- Returns:
this
-
invertMatch
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch.Builder invertMatch(com.hashicorp.cdktf.IResolvable invertMatch)
Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch.getInvertMatch()- Parameters:
invertMatch- If set to false (default), the headerMatch is considered a match if the match criteria above are met. If set to true, the headerMatch is considered a match if the match criteria above are NOT met. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#invert_match NetworkServicesEdgeCacheService#invert_match}- Returns:
this
-
prefixMatch
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch.Builder prefixMatch(String prefixMatch)
Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch.getPrefixMatch()- Parameters:
prefixMatch- The value of the header must start with the contents of prefixMatch. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#prefix_match NetworkServicesEdgeCacheService#prefix_match}- Returns:
this
-
presentMatch
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch.Builder presentMatch(Boolean presentMatch)
Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch.getPresentMatch()- Parameters:
presentMatch- A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#present_match NetworkServicesEdgeCacheService#present_match}- Returns:
this
-
presentMatch
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch.Builder presentMatch(com.hashicorp.cdktf.IResolvable presentMatch)
Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch.getPresentMatch()- Parameters:
presentMatch- A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#present_match NetworkServicesEdgeCacheService#present_match}- Returns:
this
-
suffixMatch
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch.Builder suffixMatch(String suffixMatch)
Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch.getSuffixMatch()- Parameters:
suffixMatch- The value of the header must end with the contents of suffixMatch. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#suffix_match NetworkServicesEdgeCacheService#suffix_match}- Returns:
this
-
build
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch>- Returns:
- a new instance of
NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch - Throws:
NullPointerException- if any required attribute was not provided
-
-