Class ComputeUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_url_map.ComputeUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches>
- Enclosing interface:
- ComputeUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches
@Stability(Stable) public static final class ComputeUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.Builder extends Object implements software.amazon.jsii.Builder<ComputeUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatchesbuild()Builds the configured instance.ComputeUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.BuilderexactMatch(String exactMatch)ComputeUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.Buildername(String name)ComputeUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.BuilderpresentMatch(com.hashicorp.cdktf.IResolvable presentMatch)ComputeUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.BuilderpresentMatch(Boolean presentMatch)ComputeUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.BuilderregexMatch(String regexMatch)
-
-
-
Method Detail
-
name
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.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_url_map#name ComputeUrlMap#name}- Returns:
this
-
exactMatch
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.Builder exactMatch(String exactMatch)
- 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_url_map#exact_match ComputeUrlMap#exact_match}- Returns:
this
-
presentMatch
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.Builder presentMatch(Boolean presentMatch)
Sets the value ofComputeUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.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_url_map#present_match ComputeUrlMap#present_match}- Returns:
this
-
presentMatch
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.Builder presentMatch(com.hashicorp.cdktf.IResolvable presentMatch)
Sets the value ofComputeUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.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_url_map#present_match ComputeUrlMap#present_match}- Returns:
this
-
regexMatch
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches.Builder regexMatch(String regexMatch)
- 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_url_map#regex_match ComputeUrlMap#regex_match}- Returns:
this
-
build
@Stability(Stable) public ComputeUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches>- Returns:
- a new instance of
ComputeUrlMapPathMatcherRouteRulesMatchRulesQueryParameterMatches - Throws:
NullPointerException- if any required attribute was not provided
-
-