public final class UrlRewrite 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 | 
|---|
| UrlRewrite() | 
| Modifier and Type | Method and Description | 
|---|---|
| UrlRewrite | clone() | 
| String | getHostRewrite()Before forwarding the request to the selected service, the request's host header is replaced
 with contents of hostRewrite. | 
| String | getPathPrefixRewrite()Before forwarding the request to the selected backend service, the matching portion of the
 request's path is replaced by pathPrefixRewrite. | 
| UrlRewrite | set(String fieldName,
   Object value) | 
| UrlRewrite | setHostRewrite(String hostRewrite)Before forwarding the request to the selected service, the request's host header is replaced
 with contents of hostRewrite. | 
| UrlRewrite | setPathPrefixRewrite(String pathPrefixRewrite)Before forwarding the request to the selected backend service, the matching portion of the
 request's path is replaced by pathPrefixRewrite. | 
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 getHostRewrite()
null for nonepublic UrlRewrite setHostRewrite(String hostRewrite)
hostRewrite - hostRewrite or null for nonepublic String getPathPrefixRewrite()
null for nonepublic UrlRewrite setPathPrefixRewrite(String pathPrefixRewrite)
pathPrefixRewrite - pathPrefixRewrite or null for nonepublic UrlRewrite set(String fieldName, Object value)
set in class GenericJsonpublic UrlRewrite clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.