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
AbstractMap.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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 com.google.api.client.json.GenericJson
public HttpQueryParameterMatch clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.