public static class HttpQueryParameterMatch.Builder extends Object
Modifier and Type | Method and Description |
---|---|
HttpQueryParameterMatch |
build() |
HttpQueryParameterMatch.Builder |
clone() |
String |
getExactMatch()
The queryParameterMatch matches if the value of the parameter exactly matches the contents of
exactMatch.
|
String |
getName()
The name of the query parameter to match.
|
Boolean |
getPresentMatch()
Specifies that the queryParameterMatch matches if the request contains the query parameter,
irrespective of whether the parameter has a value or not.
|
String |
getRegexMatch()
The queryParameterMatch matches if the value of the parameter matches the regular expression
specified by regexMatch.
|
HttpQueryParameterMatch.Builder |
mergeFrom(HttpQueryParameterMatch other) |
HttpQueryParameterMatch.Builder |
setExactMatch(String exactMatch)
The queryParameterMatch matches if the value of the parameter exactly matches the contents of
exactMatch.
|
HttpQueryParameterMatch.Builder |
setName(String name)
The name of the query parameter to match.
|
HttpQueryParameterMatch.Builder |
setPresentMatch(Boolean presentMatch)
Specifies that the queryParameterMatch matches if the request contains the query parameter,
irrespective of whether the parameter has a value or not.
|
HttpQueryParameterMatch.Builder |
setRegexMatch(String regexMatch)
The queryParameterMatch matches if the value of the parameter matches the regular expression
specified by regexMatch.
|
public HttpQueryParameterMatch.Builder mergeFrom(HttpQueryParameterMatch other)
public String getExactMatch()
public HttpQueryParameterMatch.Builder setExactMatch(String exactMatch)
public String getName()
public HttpQueryParameterMatch.Builder setName(String name)
public Boolean getPresentMatch()
public HttpQueryParameterMatch.Builder setPresentMatch(Boolean presentMatch)
public String getRegexMatch()
public HttpQueryParameterMatch.Builder setRegexMatch(String regexMatch)
public HttpQueryParameterMatch build()
public HttpQueryParameterMatch.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.