public final class ReservationBlock
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 |
|---|
ReservationBlock() |
| Modifier and Type | Method and Description |
|---|---|
ReservationBlock |
clone() |
Integer |
getCount()
[Output Only] The number of resources that are allocated in this reservation block.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp inRFC3339 text format.
|
ReservationBlockHealthInfo |
getHealthInfo()
[Output Only] Health information for the reservation block.
|
BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
Integer |
getInUseCount()
[Output Only] The number of instances that are currently in use on this reservation block.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getName()
[Output Only] The name of this reservation block generated by Google Compute Engine.
|
ReservationBlockPhysicalTopology |
getPhysicalTopology()
[Output Only] The physical topology of the reservation block.
|
GroupMaintenanceInfo |
getReservationMaintenance()
[Output Only] Maintenance information for this reservation block.
|
Integer |
getReservationSubBlockCount()
[Output Only] The number of reservation subBlocks associated with this reservation block.
|
Integer |
getReservationSubBlockInUseCount()
[Output Only] The number of in-use reservation subBlocks associated with this reservation
block.
|
String |
getSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
|
String |
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id.
|
String |
getStatus()
[Output Only] Status of the reservation block.
|
String |
getZone()
[Output Only] Zone in which the reservation block resides.
|
ReservationBlock |
set(String fieldName,
Object value) |
ReservationBlock |
setCount(Integer count)
[Output Only] The number of resources that are allocated in this reservation block.
|
ReservationBlock |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp inRFC3339 text format.
|
ReservationBlock |
setHealthInfo(ReservationBlockHealthInfo healthInfo)
[Output Only] Health information for the reservation block.
|
ReservationBlock |
setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
ReservationBlock |
setInUseCount(Integer inUseCount)
[Output Only] The number of instances that are currently in use on this reservation block.
|
ReservationBlock |
setKind(String kind)
[Output Only] Type of the resource.
|
ReservationBlock |
setName(String name)
[Output Only] The name of this reservation block generated by Google Compute Engine.
|
ReservationBlock |
setPhysicalTopology(ReservationBlockPhysicalTopology physicalTopology)
[Output Only] The physical topology of the reservation block.
|
ReservationBlock |
setReservationMaintenance(GroupMaintenanceInfo reservationMaintenance)
[Output Only] Maintenance information for this reservation block.
|
ReservationBlock |
setReservationSubBlockCount(Integer reservationSubBlockCount)
[Output Only] The number of reservation subBlocks associated with this reservation block.
|
ReservationBlock |
setReservationSubBlockInUseCount(Integer reservationSubBlockInUseCount)
[Output Only] The number of in-use reservation subBlocks associated with this reservation
block.
|
ReservationBlock |
setSelfLink(String selfLink)
[Output Only] Server-defined fully-qualified URL for this resource.
|
ReservationBlock |
setSelfLinkWithId(String selfLinkWithId)
[Output Only] Server-defined URL for this resource with the resource id.
|
ReservationBlock |
setStatus(String status)
[Output Only] Status of the reservation block.
|
ReservationBlock |
setZone(String zone)
[Output Only] Zone in which the reservation block resides.
|
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 Integer getCount()
null for nonepublic ReservationBlock setCount(Integer count)
count - count or null for nonepublic String getCreationTimestamp()
null for nonepublic ReservationBlock setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic ReservationBlockHealthInfo getHealthInfo()
null for nonepublic ReservationBlock setHealthInfo(ReservationBlockHealthInfo healthInfo)
healthInfo - healthInfo or null for nonepublic BigInteger getId()
null for nonepublic ReservationBlock setId(BigInteger id)
id - id or null for nonepublic Integer getInUseCount()
null for nonepublic ReservationBlock setInUseCount(Integer inUseCount)
inUseCount - inUseCount or null for nonepublic String getKind()
null for nonepublic ReservationBlock setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic ReservationBlock setName(String name)
name - name or null for nonepublic ReservationBlockPhysicalTopology getPhysicalTopology()
null for nonepublic ReservationBlock setPhysicalTopology(ReservationBlockPhysicalTopology physicalTopology)
physicalTopology - physicalTopology or null for nonepublic GroupMaintenanceInfo getReservationMaintenance()
null for nonepublic ReservationBlock setReservationMaintenance(GroupMaintenanceInfo reservationMaintenance)
reservationMaintenance - reservationMaintenance or null for nonepublic Integer getReservationSubBlockCount()
null for nonepublic ReservationBlock setReservationSubBlockCount(Integer reservationSubBlockCount)
reservationSubBlockCount - reservationSubBlockCount or null for nonepublic Integer getReservationSubBlockInUseCount()
null for nonepublic ReservationBlock setReservationSubBlockInUseCount(Integer reservationSubBlockInUseCount)
reservationSubBlockInUseCount - reservationSubBlockInUseCount or null for nonepublic String getSelfLink()
null for nonepublic ReservationBlock setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getSelfLinkWithId()
null for nonepublic ReservationBlock setSelfLinkWithId(String selfLinkWithId)
selfLinkWithId - selfLinkWithId or null for nonepublic String getStatus()
null for nonepublic ReservationBlock setStatus(String status)
status - status or null for nonepublic String getZone()
null for nonepublic ReservationBlock setZone(String zone)
zone - zone or null for nonepublic ReservationBlock set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ReservationBlock clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.