public final class BackendService 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: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
BackendService() |
Modifier and Type | Method and Description |
---|---|
BackendService |
clone() |
byte[] |
decodeFingerprint()
Fingerprint of this resource.
|
BackendService |
encodeFingerprint(byte[] fingerprint)
Fingerprint of this resource.
|
List<Backend> |
getBackends()
The list of backends that serve this BackendService.
|
String |
getCreationTimestamp()
Creation timestamp in RFC3339 text format (output only).
|
String |
getDescription()
An optional textual description of the resource; provided by the client when the resource is
created.
|
String |
getFingerprint()
Fingerprint of this resource.
|
List<String> |
getHealthChecks()
The list of URLs to the HttpHealthCheck resource for health checking this BackendService.
|
BigInteger |
getId()
Unique identifier for the resource; defined by the server (output only).
|
String |
getKind()
Type of the resource.
|
String |
getName()
Name of the resource; provided by the client when the resource is created.
|
Integer |
getPort()
The TCP port to connect on the backend.
|
String |
getProtocol() |
String |
getSelfLink()
Server defined URL for the resource (output only).
|
Integer |
getTimeoutSec()
How many seconds to wait for the backend before considering it a failed request.
|
BackendService |
set(String fieldName,
Object value) |
BackendService |
setBackends(List<Backend> backends)
The list of backends that serve this BackendService.
|
BackendService |
setCreationTimestamp(String creationTimestamp)
Creation timestamp in RFC3339 text format (output only).
|
BackendService |
setDescription(String description)
An optional textual description of the resource; provided by the client when the resource is
created.
|
BackendService |
setFingerprint(String fingerprint)
Fingerprint of this resource.
|
BackendService |
setHealthChecks(List<String> healthChecks)
The list of URLs to the HttpHealthCheck resource for health checking this BackendService.
|
BackendService |
setId(BigInteger id)
Unique identifier for the resource; defined by the server (output only).
|
BackendService |
setKind(String kind)
Type of the resource.
|
BackendService |
setName(String name)
Name of the resource; provided by the client when the resource is created.
|
BackendService |
setPort(Integer port)
The TCP port to connect on the backend.
|
BackendService |
setProtocol(String protocol) |
BackendService |
setSelfLink(String selfLink)
Server defined URL for the resource (output only).
|
BackendService |
setTimeoutSec(Integer timeoutSec)
How many seconds to wait for the backend before considering it a failed request.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public List<Backend> getBackends()
null
for nonepublic BackendService setBackends(List<Backend> backends)
backends
- backends or null
for nonepublic String getCreationTimestamp()
null
for nonepublic BackendService setCreationTimestamp(String creationTimestamp)
creationTimestamp
- creationTimestamp or null
for nonepublic String getDescription()
null
for nonepublic BackendService setDescription(String description)
description
- description or null
for nonepublic String getFingerprint()
null
for nonedecodeFingerprint()
public byte[] decodeFingerprint()
null
for nonegetFingerprint()
public BackendService setFingerprint(String fingerprint)
fingerprint
- fingerprint or null
for none#encodeFingerprint()
public BackendService encodeFingerprint(byte[] fingerprint)
The value is encoded Base64 or {@code null} for none.
public List<String> getHealthChecks()
null
for nonepublic BackendService setHealthChecks(List<String> healthChecks)
healthChecks
- healthChecks or null
for nonepublic BigInteger getId()
null
for nonepublic BackendService setId(BigInteger id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic BackendService setKind(String kind)
kind
- kind or null
for nonepublic String getName()
null
for nonepublic BackendService setName(String name)
name
- name or null
for nonepublic Integer getPort()
null
for nonepublic BackendService setPort(Integer port)
port
- port or null
for nonepublic String getProtocol()
null
for nonepublic BackendService setProtocol(String protocol)
protocol
- protocol or null
for nonepublic String getSelfLink()
null
for nonepublic BackendService setSelfLink(String selfLink)
selfLink
- selfLink or null
for nonepublic Integer getTimeoutSec()
null
for nonepublic BackendService setTimeoutSec(Integer timeoutSec)
timeoutSec
- timeoutSec or null
for nonepublic BackendService set(String fieldName, Object value)
set
in class GenericJson
public BackendService clone()
clone
in class GenericJson