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