public final class UrlMap 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 | 
|---|
| UrlMap() | 
| Modifier and Type | Method and Description | 
|---|---|
| UrlMap | clone() | 
| byte[] | decodeFingerprint()Fingerprint of this resource. | 
| UrlMap | encodeFingerprint(byte[] fingerprint)Fingerprint of this resource. | 
| String | getCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format. | 
| HttpRouteAction | getDefaultRouteAction()defaultRouteAction takes effect when none of the hostRules match. | 
| String | getDefaultService()The full or partial URL of the defaultService resource to which traffic is directed if none of
 the hostRules match. | 
| HttpRedirectAction | getDefaultUrlRedirect()When none of the specified hostRules match, the request is redirected to a URL specified by
 defaultUrlRedirect. | 
| String | getDescription()An optional description of this resource. | 
| String | getFingerprint()Fingerprint of this resource. | 
| HttpHeaderAction | getHeaderAction()Specifies changes to request and response headers that need to take effect for the selected
 backendService. | 
| List<HostRule> | getHostRules()The list of host rules to use against the URL. | 
| BigInteger | getId()[Output Only] The unique identifier for the resource. | 
| String | getKind()[Output Only] Type of the resource. | 
| String | getName()Name of the resource. | 
| List<PathMatcher> | getPathMatchers()The list of named PathMatchers to use against the URL. | 
| String | getRegion()[Output Only] URL of the region where the regional URL map resides. | 
| String | getSelfLink()[Output Only] Server-defined URL for the resource. | 
| List<UrlMapTest> | getTests()The list of expected URL mapping tests. | 
| UrlMap | set(String fieldName,
   Object value) | 
| UrlMap | setCreationTimestamp(String creationTimestamp)[Output Only] Creation timestamp in RFC3339 text format. | 
| UrlMap | setDefaultRouteAction(HttpRouteAction defaultRouteAction)defaultRouteAction takes effect when none of the hostRules match. | 
| UrlMap | setDefaultService(String defaultService)The full or partial URL of the defaultService resource to which traffic is directed if none of
 the hostRules match. | 
| UrlMap | setDefaultUrlRedirect(HttpRedirectAction defaultUrlRedirect)When none of the specified hostRules match, the request is redirected to a URL specified by
 defaultUrlRedirect. | 
| UrlMap | setDescription(String description)An optional description of this resource. | 
| UrlMap | setFingerprint(String fingerprint)Fingerprint of this resource. | 
| UrlMap | setHeaderAction(HttpHeaderAction headerAction)Specifies changes to request and response headers that need to take effect for the selected
 backendService. | 
| UrlMap | setHostRules(List<HostRule> hostRules)The list of host rules to use against the URL. | 
| UrlMap | setId(BigInteger id)[Output Only] The unique identifier for the resource. | 
| UrlMap | setKind(String kind)[Output Only] Type of the resource. | 
| UrlMap | setName(String name)Name of the resource. | 
| UrlMap | setPathMatchers(List<PathMatcher> pathMatchers)The list of named PathMatchers to use against the URL. | 
| UrlMap | setRegion(String region)[Output Only] URL of the region where the regional URL map resides. | 
| UrlMap | setSelfLink(String selfLink)[Output Only] Server-defined URL for the resource. | 
| UrlMap | setTests(List<UrlMapTest> tests)The list of expected URL mapping tests. | 
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 getCreationTimestamp()
null for nonepublic UrlMap setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic HttpRouteAction getDefaultRouteAction()
null for nonepublic UrlMap setDefaultRouteAction(HttpRouteAction defaultRouteAction)
defaultRouteAction - defaultRouteAction or null for nonepublic String getDefaultService()
null for nonepublic UrlMap setDefaultService(String defaultService)
defaultService - defaultService or null for nonepublic HttpRedirectAction getDefaultUrlRedirect()
null for nonepublic UrlMap setDefaultUrlRedirect(HttpRedirectAction defaultUrlRedirect)
defaultUrlRedirect - defaultUrlRedirect or null for nonepublic String getDescription()
null for nonepublic UrlMap setDescription(String description)
description - description or null for nonepublic String getFingerprint()
null for nonedecodeFingerprint()public byte[] decodeFingerprint()
null for nonegetFingerprint()public UrlMap setFingerprint(String fingerprint)
fingerprint - fingerprint or null for none#encodeFingerprint()public UrlMap encodeFingerprint(byte[] fingerprint)
 The value is encoded Base64 or {@code null} for none.
 
public HttpHeaderAction getHeaderAction()
null for nonepublic UrlMap setHeaderAction(HttpHeaderAction headerAction)
headerAction - headerAction or null for nonepublic List<HostRule> getHostRules()
null for nonepublic UrlMap setHostRules(List<HostRule> hostRules)
hostRules - hostRules or null for nonepublic BigInteger getId()
null for nonepublic UrlMap setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic UrlMap setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic UrlMap setName(String name)
name - name or null for nonepublic List<PathMatcher> getPathMatchers()
null for nonepublic UrlMap setPathMatchers(List<PathMatcher> pathMatchers)
pathMatchers - pathMatchers or null for nonepublic String getRegion()
null for nonepublic UrlMap setRegion(String region)
region - region or null for nonepublic String getSelfLink()
null for nonepublic UrlMap setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic List<UrlMapTest> getTests()
null for nonepublic UrlMap setTests(List<UrlMapTest> tests)
tests - tests or null for nonepublic UrlMap set(String fieldName, Object value)
set in class GenericJsonpublic UrlMap clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.