public final class AllocationAggregateReservation
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 |
---|
AllocationAggregateReservation() |
Modifier and Type | Method and Description |
---|---|
AllocationAggregateReservation |
clone() |
List<AllocationAggregateReservationReservedResourceInfo> |
getInUseResources()
[Output only] List of resources currently in use.
|
List<AllocationAggregateReservationReservedResourceInfo> |
getReservedResources()
List of reserved resources (CPUs, memory, accelerators).
|
String |
getVmFamily()
The VM family that all instances scheduled against this reservation must belong to.
|
String |
getWorkloadType()
The workload type of the instances that will target this reservation.
|
AllocationAggregateReservation |
set(String fieldName,
Object value) |
AllocationAggregateReservation |
setInUseResources(List<AllocationAggregateReservationReservedResourceInfo> inUseResources)
[Output only] List of resources currently in use.
|
AllocationAggregateReservation |
setReservedResources(List<AllocationAggregateReservationReservedResourceInfo> reservedResources)
List of reserved resources (CPUs, memory, accelerators).
|
AllocationAggregateReservation |
setVmFamily(String vmFamily)
The VM family that all instances scheduled against this reservation must belong to.
|
AllocationAggregateReservation |
setWorkloadType(String workloadType)
The workload type of the instances that will target this reservation.
|
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 List<AllocationAggregateReservationReservedResourceInfo> getInUseResources()
null
for nonepublic AllocationAggregateReservation setInUseResources(List<AllocationAggregateReservationReservedResourceInfo> inUseResources)
inUseResources
- inUseResources or null
for nonepublic List<AllocationAggregateReservationReservedResourceInfo> getReservedResources()
null
for nonepublic AllocationAggregateReservation setReservedResources(List<AllocationAggregateReservationReservedResourceInfo> reservedResources)
reservedResources
- reservedResources or null
for nonepublic String getVmFamily()
null
for nonepublic AllocationAggregateReservation setVmFamily(String vmFamily)
vmFamily
- vmFamily or null
for nonepublic String getWorkloadType()
null
for nonepublic AllocationAggregateReservation setWorkloadType(String workloadType)
workloadType
- workloadType or null
for nonepublic AllocationAggregateReservation set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public AllocationAggregateReservation clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.