public final class UrlMap
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| 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.
|
java.lang.String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
java.lang.String |
getDefaultService()
The URL of the BackendService resource if none of the hostRules match.
|
java.lang.String |
getDescription()
An optional description of this resource.
|
java.lang.String |
getFingerprint()
Fingerprint of this resource.
|
java.util.List<HostRule> |
getHostRules()
The list of HostRules to use against the URL.
|
java.math.BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
java.lang.String |
getKind()
[Output Only] Type of the resource.
|
java.lang.String |
getName()
Name of the resource.
|
java.util.List<PathMatcher> |
getPathMatchers()
The list of named PathMatchers to use against the URL.
|
java.lang.String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
java.util.List<UrlMapTest> |
getTests()
The list of expected URL mappings.
|
UrlMap |
set(java.lang.String fieldName,
java.lang.Object value) |
UrlMap |
setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
UrlMap |
setDefaultService(java.lang.String defaultService)
The URL of the BackendService resource if none of the hostRules match.
|
UrlMap |
setDescription(java.lang.String description)
An optional description of this resource.
|
UrlMap |
setFingerprint(java.lang.String fingerprint)
Fingerprint of this resource.
|
UrlMap |
setHostRules(java.util.List<HostRule> hostRules)
The list of HostRules to use against the URL.
|
UrlMap |
setId(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
UrlMap |
setKind(java.lang.String kind)
[Output Only] Type of the resource.
|
UrlMap |
setName(java.lang.String name)
Name of the resource.
|
UrlMap |
setPathMatchers(java.util.List<PathMatcher> pathMatchers)
The list of named PathMatchers to use against the URL.
|
UrlMap |
setSelfLink(java.lang.String selfLink)
[Output Only] Server-defined URL for the resource.
|
UrlMap |
setTests(java.util.List<UrlMapTest> tests)
The list of expected URL mappings.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getCreationTimestamp()
null for nonepublic UrlMap setCreationTimestamp(java.lang.String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic java.lang.String getDefaultService()
null for nonepublic UrlMap setDefaultService(java.lang.String defaultService)
defaultService - defaultService or null for nonepublic java.lang.String getDescription()
null for nonepublic UrlMap setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.String getFingerprint()
null for nonedecodeFingerprint()public byte[] decodeFingerprint()
null for nonegetFingerprint()public UrlMap setFingerprint(java.lang.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 java.util.List<HostRule> getHostRules()
null for nonepublic UrlMap setHostRules(java.util.List<HostRule> hostRules)
hostRules - hostRules or null for nonepublic java.math.BigInteger getId()
null for nonepublic UrlMap setId(java.math.BigInteger id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic UrlMap setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic UrlMap setName(java.lang.String name)
name - name or null for nonepublic java.util.List<PathMatcher> getPathMatchers()
null for nonepublic UrlMap setPathMatchers(java.util.List<PathMatcher> pathMatchers)
pathMatchers - pathMatchers or null for nonepublic java.lang.String getSelfLink()
null for nonepublic UrlMap setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic java.util.List<UrlMapTest> getTests()
null for nonepublic UrlMap setTests(java.util.List<UrlMapTest> tests)
tests - tests or null for nonepublic UrlMap set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic UrlMap clone()
clone in class com.google.api.client.json.GenericJson