public final class HostRule 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 |
|---|
HostRule() |
| Modifier and Type | Method and Description |
|---|---|
HostRule |
clone() |
String |
getDescription()
An optional description of this resource.
|
List<String> |
getHosts()
The list of host patterns to match.
|
String |
getPathMatcher()
The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches
the URL's host portion.
|
HostRule |
set(String fieldName,
Object value) |
HostRule |
setDescription(String description)
An optional description of this resource.
|
HostRule |
setHosts(List<String> hosts)
The list of host patterns to match.
|
HostRule |
setPathMatcher(String pathMatcher)
The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches
the URL's host portion.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getDescription()
null for nonepublic HostRule setDescription(String description)
description - description or null for nonepublic List<String> getHosts()
null for nonepublic HostRule setHosts(List<String> hosts)
hosts - hosts or null for nonepublic String getPathMatcher()
null for nonepublic HostRule setPathMatcher(String pathMatcher)
pathMatcher - pathMatcher or null for nonepublic HostRule set(String fieldName, Object value)
set in class GenericJsonpublic HostRule clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.