Class ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_region_url_map.ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches>
- Enclosing interface:
- ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches
@Stability(Stable) public static final class ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.Builder extends Object implements software.amazon.jsii.Builder<ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatchesbuild()Builds the configured instance.ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.BuilderexactMatch(String exactMatch)ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.Buildername(String name)ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.BuilderpresentMatch(com.hashicorp.cdktf.IResolvable presentMatch)ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.BuilderpresentMatch(Boolean presentMatch)ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.BuilderregexMatch(String regexMatch)
-
-
-
Method Detail
-
name
@Stability(Stable) public ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.Builder name(String name)
- Parameters:
name- The name of the query parameter to match. This parameter is required. The query parameter must exist in the request, in the absence of which the request match fails. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#name ComputeRegionUrlMap#name}- Returns:
this
-
exactMatch
@Stability(Stable) public ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.Builder exactMatch(String exactMatch)
Sets the value ofComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.getExactMatch()- Parameters:
exactMatch- The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch and regexMatch must be set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#exact_match ComputeRegionUrlMap#exact_match}- Returns:
this
-
presentMatch
@Stability(Stable) public ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.Builder presentMatch(Boolean presentMatch)
Sets the value ofComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.getPresentMatch()- Parameters:
presentMatch- Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch and regexMatch must be set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#present_match ComputeRegionUrlMap#present_match}- Returns:
this
-
presentMatch
@Stability(Stable) public ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.Builder presentMatch(com.hashicorp.cdktf.IResolvable presentMatch)
Sets the value ofComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.getPresentMatch()- Parameters:
presentMatch- Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch and regexMatch must be set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#present_match ComputeRegionUrlMap#present_match}- Returns:
this
-
regexMatch
@Stability(Stable) public ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.Builder regexMatch(String regexMatch)
Sets the value ofComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.getRegexMatch()- Parameters:
regexMatch- The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For the regular expression grammar, please see en.cppreference.com/w/cpp/regex/ecmascript Only one of presentMatch, exactMatch and regexMatch must be set. 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 ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches>- Returns:
- a new instance of
ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches - Throws:
NullPointerException- if any required attribute was not provided
-
-