Class NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.network_services_edge_cache_service.NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule>
- Enclosing interface:
- NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule
@Stability(Stable) public static final class NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule.Builder extends Object implements software.amazon.jsii.Builder<NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
fullPathMatch
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule.Builder fullPathMatch(String fullPathMatch)
Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule.getFullPathMatch()- Parameters:
fullPathMatch- For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#full_path_match NetworkServicesEdgeCacheService#full_path_match}- Returns:
this
-
headerMatch
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule.Builder headerMatch(com.hashicorp.cdktf.IResolvable headerMatch)
Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule.getHeaderMatch()- Parameters:
headerMatch- header_match block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#header_match NetworkServicesEdgeCacheService#header_match}- Returns:
this
-
headerMatch
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule.Builder headerMatch(List<? extends NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleHeaderMatch> headerMatch)
Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule.getHeaderMatch()- Parameters:
headerMatch- header_match block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#header_match NetworkServicesEdgeCacheService#header_match}- Returns:
this
-
ignoreCase
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule.Builder ignoreCase(Boolean ignoreCase)
Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule.getIgnoreCase()- Parameters:
ignoreCase- Specifies that prefixMatch and fullPathMatch matches are case sensitive. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#ignore_case NetworkServicesEdgeCacheService#ignore_case}- Returns:
this
-
ignoreCase
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule.Builder ignoreCase(com.hashicorp.cdktf.IResolvable ignoreCase)
Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule.getIgnoreCase()- Parameters:
ignoreCase- Specifies that prefixMatch and fullPathMatch matches are case sensitive. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#ignore_case NetworkServicesEdgeCacheService#ignore_case}- Returns:
this
-
pathTemplateMatch
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule.Builder pathTemplateMatch(String pathTemplateMatch)
Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule.getPathTemplateMatch()- Parameters:
pathTemplateMatch- For satisfying the matchRule condition, the path of the request must match the wildcard pattern specified in pathTemplateMatch after removing any query parameters and anchor that may be part of the original URL. pathTemplateMatch must be between 1 and 255 characters (inclusive). The pattern specified by pathTemplateMatch may have at most 5 wildcard operators and at most 5 variable captures in total. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#path_template_match NetworkServicesEdgeCacheService#path_template_match}- Returns:
this
-
prefixMatch
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule.Builder prefixMatch(String prefixMatch)
Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule.getPrefixMatch()- Parameters:
prefixMatch- For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. 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
-
queryParameterMatch
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule.Builder queryParameterMatch(com.hashicorp.cdktf.IResolvable queryParameterMatch)
Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule.getQueryParameterMatch()- Parameters:
queryParameterMatch- query_parameter_match block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#query_parameter_match NetworkServicesEdgeCacheService#query_parameter_match}- Returns:
this
-
queryParameterMatch
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule.Builder queryParameterMatch(List<? extends NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleQueryParameterMatch> queryParameterMatch)
Sets the value ofNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule.getQueryParameterMatch()- Parameters:
queryParameterMatch- query_parameter_match block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#query_parameter_match NetworkServicesEdgeCacheService#query_parameter_match}- Returns:
this
-
build
@Stability(Stable) public NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule>- Returns:
- a new instance of
NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleMatchRule - Throws:
NullPointerException- if any required attribute was not provided
-
-