Class ComputeRegionUrlMapPathMatcherRouteRulesMatchRules.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_region_url_map.ComputeRegionUrlMapPathMatcherRouteRulesMatchRules.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeRegionUrlMapPathMatcherRouteRulesMatchRules>
- Enclosing interface:
- ComputeRegionUrlMapPathMatcherRouteRulesMatchRules
@Stability(Stable) public static final class ComputeRegionUrlMapPathMatcherRouteRulesMatchRules.Builder extends Object implements software.amazon.jsii.Builder<ComputeRegionUrlMapPathMatcherRouteRulesMatchRules>
A builder forComputeRegionUrlMapPathMatcherRouteRulesMatchRules
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
fullPathMatch
@Stability(Stable) public ComputeRegionUrlMapPathMatcherRouteRulesMatchRules.Builder fullPathMatch(String fullPathMatch)
Sets the value ofComputeRegionUrlMapPathMatcherRouteRulesMatchRules.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. FullPathMatch must be between 1 and 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#full_path_match ComputeRegionUrlMap#full_path_match}- Returns:
this
-
headerMatches
@Stability(Stable) public ComputeRegionUrlMapPathMatcherRouteRulesMatchRules.Builder headerMatches(com.hashicorp.cdktf.IResolvable headerMatches)
Sets the value ofComputeRegionUrlMapPathMatcherRouteRulesMatchRules.getHeaderMatches()- Parameters:
headerMatches- header_matches block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#header_matches ComputeRegionUrlMap#header_matches}- Returns:
this
-
headerMatches
@Stability(Stable) public ComputeRegionUrlMapPathMatcherRouteRulesMatchRules.Builder headerMatches(List<? extends ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesHeaderMatches> headerMatches)
Sets the value ofComputeRegionUrlMapPathMatcherRouteRulesMatchRules.getHeaderMatches()- Parameters:
headerMatches- header_matches block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#header_matches ComputeRegionUrlMap#header_matches}- Returns:
this
-
ignoreCase
@Stability(Stable) public ComputeRegionUrlMapPathMatcherRouteRulesMatchRules.Builder ignoreCase(Boolean ignoreCase)
Sets the value ofComputeRegionUrlMapPathMatcherRouteRulesMatchRules.getIgnoreCase()- Parameters:
ignoreCase- Specifies that prefixMatch and fullPathMatch matches are case sensitive. Defaults to false. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#ignore_case ComputeRegionUrlMap#ignore_case}- Returns:
this
-
ignoreCase
@Stability(Stable) public ComputeRegionUrlMapPathMatcherRouteRulesMatchRules.Builder ignoreCase(com.hashicorp.cdktf.IResolvable ignoreCase)
Sets the value ofComputeRegionUrlMapPathMatcherRouteRulesMatchRules.getIgnoreCase()- Parameters:
ignoreCase- Specifies that prefixMatch and fullPathMatch matches are case sensitive. Defaults to false. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#ignore_case ComputeRegionUrlMap#ignore_case}- Returns:
this
-
metadataFilters
@Stability(Stable) public ComputeRegionUrlMapPathMatcherRouteRulesMatchRules.Builder metadataFilters(com.hashicorp.cdktf.IResolvable metadataFilters)
Sets the value ofComputeRegionUrlMapPathMatcherRouteRulesMatchRules.getMetadataFilters()- Parameters:
metadataFilters- metadata_filters block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#metadata_filters ComputeRegionUrlMap#metadata_filters}- Returns:
this
-
metadataFilters
@Stability(Stable) public ComputeRegionUrlMapPathMatcherRouteRulesMatchRules.Builder metadataFilters(List<? extends ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesMetadataFilters> metadataFilters)
Sets the value ofComputeRegionUrlMapPathMatcherRouteRulesMatchRules.getMetadataFilters()- Parameters:
metadataFilters- metadata_filters block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#metadata_filters ComputeRegionUrlMap#metadata_filters}- Returns:
this
-
pathTemplateMatch
@Stability(Stable) public ComputeRegionUrlMapPathMatcherRouteRulesMatchRules.Builder pathTemplateMatch(String pathTemplateMatch)
- 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/compute_region_url_map#path_template_match ComputeRegionUrlMap#path_template_match}- Returns:
this
-
prefixMatch
@Stability(Stable) public ComputeRegionUrlMapPathMatcherRouteRulesMatchRules.Builder prefixMatch(String prefixMatch)
Sets the value ofComputeRegionUrlMapPathMatcherRouteRulesMatchRules.getPrefixMatch()- Parameters:
prefixMatch- For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be between 1 and 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#prefix_match ComputeRegionUrlMap#prefix_match}- Returns:
this
-
queryParameterMatches
@Stability(Stable) public ComputeRegionUrlMapPathMatcherRouteRulesMatchRules.Builder queryParameterMatches(com.hashicorp.cdktf.IResolvable queryParameterMatches)
- Parameters:
queryParameterMatches- query_parameter_matches block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#query_parameter_matches ComputeRegionUrlMap#query_parameter_matches}- Returns:
this
-
queryParameterMatches
@Stability(Stable) public ComputeRegionUrlMapPathMatcherRouteRulesMatchRules.Builder queryParameterMatches(List<? extends ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches> queryParameterMatches)
- Parameters:
queryParameterMatches- query_parameter_matches block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#query_parameter_matches ComputeRegionUrlMap#query_parameter_matches}- Returns:
this
-
regexMatch
@Stability(Stable) public ComputeRegionUrlMapPathMatcherRouteRulesMatchRules.Builder regexMatch(String regexMatch)
Sets the value ofComputeRegionUrlMapPathMatcherRouteRulesMatchRules.getRegexMatch()- Parameters:
regexMatch- For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#regex_match ComputeRegionUrlMap#regex_match}- Returns:
this
-
build
@Stability(Stable) public ComputeRegionUrlMapPathMatcherRouteRulesMatchRules build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeRegionUrlMapPathMatcherRouteRulesMatchRules>- Returns:
- a new instance of
ComputeRegionUrlMapPathMatcherRouteRulesMatchRules - Throws:
NullPointerException- if any required attribute was not provided
-
-