public final class HttpQueryParameterMatch
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
HttpQueryParameterMatch() |
| Modifier and Type | Method and Description |
|---|---|
HttpQueryParameterMatch |
clone() |
java.lang.String |
getExactMatch()
The queryParameterMatch matches if the value of the parameter exactly matches the contents of
exactMatch.
|
java.lang.String |
getName()
The name of the query parameter to match.
|
java.lang.Boolean |
getPresentMatch()
Specifies that the queryParameterMatch matches if the request contains the query parameter,
irrespective of whether the parameter has a value or not.
|
java.lang.String |
getRegexMatch()
The queryParameterMatch matches if the value of the parameter matches the regular expression
specified by regexMatch.
|
HttpQueryParameterMatch |
set(java.lang.String fieldName,
java.lang.Object value) |
HttpQueryParameterMatch |
setExactMatch(java.lang.String exactMatch)
The queryParameterMatch matches if the value of the parameter exactly matches the contents of
exactMatch.
|
HttpQueryParameterMatch |
setName(java.lang.String name)
The name of the query parameter to match.
|
HttpQueryParameterMatch |
setPresentMatch(java.lang.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(java.lang.String regexMatch)
The queryParameterMatch matches if the value of the parameter matches the regular expression
specified by regexMatch.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getExactMatch()
null for nonepublic HttpQueryParameterMatch setExactMatch(java.lang.String exactMatch)
exactMatch - exactMatch or null for nonepublic java.lang.String getName()
null for nonepublic HttpQueryParameterMatch setName(java.lang.String name)
name - name or null for nonepublic java.lang.Boolean getPresentMatch()
null for nonepublic HttpQueryParameterMatch setPresentMatch(java.lang.Boolean presentMatch)
presentMatch - presentMatch or null for nonepublic java.lang.String getRegexMatch()
null for nonepublic HttpQueryParameterMatch setRegexMatch(java.lang.String regexMatch)
regexMatch - regexMatch or null for nonepublic HttpQueryParameterMatch set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic HttpQueryParameterMatch clone()
clone in class com.google.api.client.json.GenericJson