public final class HealthSource
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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
HealthSource() |
| Modifier and Type | Method and Description |
|---|---|
HealthSource |
clone() |
byte[] |
decodeFingerprint()
Fingerprint of this resource.
|
HealthSource |
encodeFingerprint(byte[] fingerprint)
Fingerprint of this resource.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
An optional description of this resource.
|
String |
getFingerprint()
Fingerprint of this resource.
|
String |
getHealthAggregationPolicy()
URL to the HealthAggregationPolicy resource.
|
BigInteger |
getId()
[Output Only] A unique identifier for this resource type.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getName()
Name of the resource.
|
String |
getRegion()
[Output Only] URL of the region where the health source resides.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
String |
getSelfLinkWithId()
[Output Only] Server-defined URL with id for the resource.
|
List<String> |
getSources()
URLs to the source resources.
|
String |
getSourceType()
Specifies the type of the HealthSource.
|
HealthSource |
set(String fieldName,
Object value) |
HealthSource |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
HealthSource |
setDescription(String description)
An optional description of this resource.
|
HealthSource |
setFingerprint(String fingerprint)
Fingerprint of this resource.
|
HealthSource |
setHealthAggregationPolicy(String healthAggregationPolicy)
URL to the HealthAggregationPolicy resource.
|
HealthSource |
setId(BigInteger id)
[Output Only] A unique identifier for this resource type.
|
HealthSource |
setKind(String kind)
[Output Only] Type of the resource.
|
HealthSource |
setName(String name)
Name of the resource.
|
HealthSource |
setRegion(String region)
[Output Only] URL of the region where the health source resides.
|
HealthSource |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
HealthSource |
setSelfLinkWithId(String selfLinkWithId)
[Output Only] Server-defined URL with id for the resource.
|
HealthSource |
setSources(List<String> sources)
URLs to the source resources.
|
HealthSource |
setSourceType(String sourceType)
Specifies the type of the HealthSource.
|
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 HealthSource setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic HealthSource setDescription(String description)
description - description or null for nonepublic String getFingerprint()
null for nonedecodeFingerprint()public byte[] decodeFingerprint()
null for nonegetFingerprint()public HealthSource setFingerprint(String fingerprint)
fingerprint - fingerprint or null for none#encodeFingerprint()public HealthSource encodeFingerprint(byte[] fingerprint)
The value is encoded Base64 or {@code null} for none.
public String getHealthAggregationPolicy()
null for nonepublic HealthSource setHealthAggregationPolicy(String healthAggregationPolicy)
healthAggregationPolicy - healthAggregationPolicy or null for nonepublic BigInteger getId()
null for nonepublic HealthSource setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic HealthSource setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic HealthSource setName(String name)
name - name or null for nonepublic String getRegion()
null for nonepublic HealthSource setRegion(String region)
region - region or null for nonepublic String getSelfLink()
null for nonepublic HealthSource setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getSelfLinkWithId()
null for nonepublic HealthSource setSelfLinkWithId(String selfLinkWithId)
selfLinkWithId - selfLinkWithId or null for nonepublic String getSourceType()
null for nonepublic HealthSource setSourceType(String sourceType)
sourceType - sourceType or null for nonepublic List<String> getSources()
null for nonepublic HealthSource setSources(List<String> sources)
sources - sources or null for nonepublic HealthSource set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic HealthSource clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.