public final class AllocationSpecificSKUAllocationReservedInstanceProperties extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AllocationSpecificSKUAllocationReservedInstanceProperties() |
| Modifier and Type | Method and Description |
|---|---|
AllocationSpecificSKUAllocationReservedInstanceProperties |
clone() |
List<AcceleratorConfig> |
getGuestAccelerators()
Specifies accelerator type and count.
|
List<AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk> |
getLocalSsds()
Specifies amount of local ssd to reserve with each instance.
|
String |
getLocationHint()
An opaque location hint used to place the allocation close to other resources.
|
String |
getMachineType()
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of
memory.
|
Integer |
getMaintenanceFreezeDurationHours()
Specifies the number of hours after reservation creation where instances using the reservation
won't be scheduled for maintenance.
|
String |
getMaintenanceInterval()
For more information about maintenance intervals, see Setting maintenance intervals.
|
String |
getMinCpuPlatform()
Minimum cpu platform the reservation.
|
AllocationSpecificSKUAllocationReservedInstanceProperties |
set(String fieldName,
Object value) |
AllocationSpecificSKUAllocationReservedInstanceProperties |
setGuestAccelerators(List<AcceleratorConfig> guestAccelerators)
Specifies accelerator type and count.
|
AllocationSpecificSKUAllocationReservedInstanceProperties |
setLocalSsds(List<AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk> localSsds)
Specifies amount of local ssd to reserve with each instance.
|
AllocationSpecificSKUAllocationReservedInstanceProperties |
setLocationHint(String locationHint)
An opaque location hint used to place the allocation close to other resources.
|
AllocationSpecificSKUAllocationReservedInstanceProperties |
setMachineType(String machineType)
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of
memory.
|
AllocationSpecificSKUAllocationReservedInstanceProperties |
setMaintenanceFreezeDurationHours(Integer maintenanceFreezeDurationHours)
Specifies the number of hours after reservation creation where instances using the reservation
won't be scheduled for maintenance.
|
AllocationSpecificSKUAllocationReservedInstanceProperties |
setMaintenanceInterval(String maintenanceInterval)
For more information about maintenance intervals, see Setting maintenance intervals.
|
AllocationSpecificSKUAllocationReservedInstanceProperties |
setMinCpuPlatform(String minCpuPlatform)
Minimum cpu platform the reservation.
|
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 AllocationSpecificSKUAllocationReservedInstanceProperties()
public List<AcceleratorConfig> getGuestAccelerators()
null for nonepublic AllocationSpecificSKUAllocationReservedInstanceProperties setGuestAccelerators(List<AcceleratorConfig> guestAccelerators)
guestAccelerators - guestAccelerators or null for nonepublic List<AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk> getLocalSsds()
null for nonepublic AllocationSpecificSKUAllocationReservedInstanceProperties setLocalSsds(List<AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk> localSsds)
localSsds - localSsds or null for nonepublic String getLocationHint()
null for nonepublic AllocationSpecificSKUAllocationReservedInstanceProperties setLocationHint(String locationHint)
locationHint - locationHint or null for nonepublic String getMachineType()
null for nonepublic AllocationSpecificSKUAllocationReservedInstanceProperties setMachineType(String machineType)
machineType - machineType or null for nonepublic Integer getMaintenanceFreezeDurationHours()
null for nonepublic AllocationSpecificSKUAllocationReservedInstanceProperties setMaintenanceFreezeDurationHours(Integer maintenanceFreezeDurationHours)
maintenanceFreezeDurationHours - maintenanceFreezeDurationHours or null for nonepublic String getMaintenanceInterval()
null for nonepublic AllocationSpecificSKUAllocationReservedInstanceProperties setMaintenanceInterval(String maintenanceInterval)
maintenanceInterval - maintenanceInterval or null for nonepublic String getMinCpuPlatform()
null for nonepublic AllocationSpecificSKUAllocationReservedInstanceProperties setMinCpuPlatform(String minCpuPlatform)
minCpuPlatform - minCpuPlatform or null for nonepublic AllocationSpecificSKUAllocationReservedInstanceProperties set(String fieldName, Object value)
set in class GenericJsonpublic AllocationSpecificSKUAllocationReservedInstanceProperties clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.