Class ComputeUrlMapPathMatcherRouteRulesMatchRules.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_url_map.ComputeUrlMapPathMatcherRouteRulesMatchRules.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeUrlMapPathMatcherRouteRulesMatchRules>
- Enclosing interface:
- ComputeUrlMapPathMatcherRouteRulesMatchRules
@Stability(Stable) public static final class ComputeUrlMapPathMatcherRouteRulesMatchRules.Builder extends Object implements software.amazon.jsii.Builder<ComputeUrlMapPathMatcherRouteRulesMatchRules>
A builder forComputeUrlMapPathMatcherRouteRulesMatchRules
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
fullPathMatch
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesMatchRules.Builder fullPathMatch(String fullPathMatch)
Sets the value ofComputeUrlMapPathMatcherRouteRulesMatchRules.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_url_map#full_path_match ComputeUrlMap#full_path_match}- Returns:
this
-
headerMatches
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesMatchRules.Builder headerMatches(com.hashicorp.cdktf.IResolvable headerMatches)
Sets the value ofComputeUrlMapPathMatcherRouteRulesMatchRules.getHeaderMatches()- Parameters:
headerMatches- header_matches block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#header_matches ComputeUrlMap#header_matches}- Returns:
this
-
headerMatches
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesMatchRules.Builder headerMatches(List<? extends ComputeUrlMapPathMatcherRouteRulesMatchRulesHeaderMatches> headerMatches)
Sets the value ofComputeUrlMapPathMatcherRouteRulesMatchRules.getHeaderMatches()- Parameters:
headerMatches- header_matches block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#header_matches ComputeUrlMap#header_matches}- Returns:
this
-
ignoreCase
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesMatchRules.Builder ignoreCase(Boolean ignoreCase)
Sets the value ofComputeUrlMapPathMatcherRouteRulesMatchRules.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_url_map#ignore_case ComputeUrlMap#ignore_case}- Returns:
this
-
ignoreCase
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesMatchRules.Builder ignoreCase(com.hashicorp.cdktf.IResolvable ignoreCase)
Sets the value ofComputeUrlMapPathMatcherRouteRulesMatchRules.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_url_map#ignore_case ComputeUrlMap#ignore_case}- Returns:
this
-
metadataFilters
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesMatchRules.Builder metadataFilters(com.hashicorp.cdktf.IResolvable metadataFilters)
Sets the value ofComputeUrlMapPathMatcherRouteRulesMatchRules.getMetadataFilters()- Parameters:
metadataFilters- metadata_filters block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#metadata_filters ComputeUrlMap#metadata_filters}- Returns:
this
-
metadataFilters
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesMatchRules.Builder metadataFilters(List<? extends ComputeUrlMapPathMatcherRouteRulesMatchRulesMetadataFilters> metadataFilters)
Sets the value ofComputeUrlMapPathMatcherRouteRulesMatchRules.getMetadataFilters()- Parameters:
metadataFilters- metadata_filters block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#metadata_filters ComputeUrlMap#metadata_filters}- Returns:
this
-
pathTemplateMatch
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesMatchRules.Builder pathTemplateMatch(String pathTemplateMatch)
Sets the value ofComputeUrlMapPathMatcherRouteRulesMatchRules.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/compute_url_map#path_template_match ComputeUrlMap#path_template_match}- Returns:
this
-
prefixMatch
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesMatchRules.Builder prefixMatch(String prefixMatch)
Sets the value ofComputeUrlMapPathMatcherRouteRulesMatchRules.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_url_map#prefix_match ComputeUrlMap#prefix_match}- Returns:
this
-
queryParameterMatches
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesMatchRules.Builder queryParameterMatches(com.hashicorp.cdktf.IResolvable queryParameterMatches)
Sets the value ofComputeUrlMapPathMatcherRouteRulesMatchRules.getQueryParameterMatches()- Parameters:
queryParameterMatches- query_parameter_matches block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#query_parameter_matches ComputeUrlMap#query_parameter_matches}- Returns:
this
-
queryParameterMatches
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesMatchRules.Builder queryParameterMatches(List<? extends ComputeUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches> queryParameterMatches)
Sets the value ofComputeUrlMapPathMatcherRouteRulesMatchRules.getQueryParameterMatches()- Parameters:
queryParameterMatches- query_parameter_matches block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#query_parameter_matches ComputeUrlMap#query_parameter_matches}- Returns:
this
-
regexMatch
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesMatchRules.Builder regexMatch(String regexMatch)
Sets the value ofComputeUrlMapPathMatcherRouteRulesMatchRules.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_url_map#regex_match ComputeUrlMap#regex_match}- Returns:
this
-
build
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesMatchRules build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeUrlMapPathMatcherRouteRulesMatchRules>- Returns:
- a new instance of
ComputeUrlMapPathMatcherRouteRulesMatchRules - Throws:
NullPointerException- if any required attribute was not provided
-
-