public final class HttpHeaderMatch 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 | 
|---|
| HttpHeaderMatch() | 
| Modifier and Type | Method and Description | 
|---|---|
| HttpHeaderMatch | clone() | 
| String | getExactMatch()The value should exactly match contents of exactMatch. | 
| String | getHeaderName()The name of the HTTP header to match. | 
| Boolean | getInvertMatch()If set to false, the headerMatch is considered a match if the preceding match criteria are met. | 
| String | getPrefixMatch()The value of the header must start with the contents of prefixMatch. | 
| Boolean | getPresentMatch()A header with the contents of headerName must exist. | 
| Int64RangeMatch | getRangeMatch()The header value must be an integer and its value must be in the range specified in rangeMatch. | 
| String | getRegexMatch()The value of the header must match the regular expression specified in regexMatch. | 
| String | getSuffixMatch()The value of the header must end with the contents of suffixMatch. | 
| HttpHeaderMatch | set(String fieldName,
   Object value) | 
| HttpHeaderMatch | setExactMatch(String exactMatch)The value should exactly match contents of exactMatch. | 
| HttpHeaderMatch | setHeaderName(String headerName)The name of the HTTP header to match. | 
| HttpHeaderMatch | setInvertMatch(Boolean invertMatch)If set to false, the headerMatch is considered a match if the preceding match criteria are met. | 
| HttpHeaderMatch | setPrefixMatch(String prefixMatch)The value of the header must start with the contents of prefixMatch. | 
| HttpHeaderMatch | setPresentMatch(Boolean presentMatch)A header with the contents of headerName must exist. | 
| HttpHeaderMatch | setRangeMatch(Int64RangeMatch rangeMatch)The header value must be an integer and its value must be in the range specified in rangeMatch. | 
| HttpHeaderMatch | setRegexMatch(String regexMatch)The value of the header must match the regular expression specified in regexMatch. | 
| HttpHeaderMatch | setSuffixMatch(String suffixMatch)The value of the header must end with the contents of suffixMatch. | 
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 HttpHeaderMatch setExactMatch(String exactMatch)
exactMatch - exactMatch or null for nonepublic String getHeaderName()
null for nonepublic HttpHeaderMatch setHeaderName(String headerName)
headerName - headerName or null for nonepublic Boolean getInvertMatch()
null for nonepublic HttpHeaderMatch setInvertMatch(Boolean invertMatch)
invertMatch - invertMatch or null for nonepublic String getPrefixMatch()
null for nonepublic HttpHeaderMatch setPrefixMatch(String prefixMatch)
prefixMatch - prefixMatch or null for nonepublic Boolean getPresentMatch()
null for nonepublic HttpHeaderMatch setPresentMatch(Boolean presentMatch)
presentMatch - presentMatch or null for nonepublic Int64RangeMatch getRangeMatch()
null for nonepublic HttpHeaderMatch setRangeMatch(Int64RangeMatch rangeMatch)
rangeMatch - rangeMatch or null for nonepublic String getRegexMatch()
null for nonepublic HttpHeaderMatch setRegexMatch(String regexMatch)
regexMatch - regexMatch or null for nonepublic String getSuffixMatch()
null for nonepublic HttpHeaderMatch setSuffixMatch(String suffixMatch)
suffixMatch - suffixMatch or null for nonepublic HttpHeaderMatch set(String fieldName, Object value)
set in class GenericJsonpublic HttpHeaderMatch clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.