public final class HttpQueryParameterMatch extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
HttpQueryParameterMatch() |
| Modifier and Type | Method and Description |
|---|---|
HttpQueryParameterMatch |
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 |
set(String fieldName,
Object value) |
HttpQueryParameterMatch |
setExactMatch(String exactMatch)
The queryParameterMatch matches if the value of the parameter exactly matches the contents of
exactMatch.
|
HttpQueryParameterMatch |
setName(String name)
The name of the query parameter to match.
|
HttpQueryParameterMatch |
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 |
setRegexMatch(String regexMatch)
The queryParameterMatch matches if the value of the parameter matches the regular expression
specified by regexMatch.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getExactMatch()
null for nonepublic HttpQueryParameterMatch setExactMatch(String exactMatch)
exactMatch - exactMatch or null for nonepublic String getName()
null for nonepublic HttpQueryParameterMatch setName(String name)
name - name or null for nonepublic Boolean getPresentMatch()
null for nonepublic HttpQueryParameterMatch setPresentMatch(Boolean presentMatch)
presentMatch - presentMatch or null for nonepublic String getRegexMatch()
null for nonepublic HttpQueryParameterMatch setRegexMatch(String regexMatch)
regexMatch - regexMatch or null for nonepublic HttpQueryParameterMatch set(String fieldName, Object value)
set in class GenericJsonpublic HttpQueryParameterMatch clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.