public final class ReservationBlockHealthInfo
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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ReservationBlockHealthInfo() |
Modifier and Type | Method and Description |
---|---|
ReservationBlockHealthInfo |
clone() |
Integer |
getDegradedSubBlockCount()
The number of subBlocks that are degraded.
|
String |
getHealthStatus()
The health status of the reservation block.
|
Integer |
getHealthySubBlockCount()
The number of subBlocks that are healthy.
|
ReservationBlockHealthInfo |
set(String fieldName,
Object value) |
ReservationBlockHealthInfo |
setDegradedSubBlockCount(Integer degradedSubBlockCount)
The number of subBlocks that are degraded.
|
ReservationBlockHealthInfo |
setHealthStatus(String healthStatus)
The health status of the reservation block.
|
ReservationBlockHealthInfo |
setHealthySubBlockCount(Integer healthySubBlockCount)
The number of subBlocks that are healthy.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Integer getDegradedSubBlockCount()
null
for nonepublic ReservationBlockHealthInfo setDegradedSubBlockCount(Integer degradedSubBlockCount)
degradedSubBlockCount
- degradedSubBlockCount or null
for nonepublic String getHealthStatus()
null
for nonepublic ReservationBlockHealthInfo setHealthStatus(String healthStatus)
healthStatus
- healthStatus or null
for nonepublic Integer getHealthySubBlockCount()
null
for nonepublic ReservationBlockHealthInfo setHealthySubBlockCount(Integer healthySubBlockCount)
healthySubBlockCount
- healthySubBlockCount or null
for nonepublic ReservationBlockHealthInfo set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public ReservationBlockHealthInfo clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.