public final class AllocationSpecificSKUAllocationReservedInstanceProperties
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 |
---|
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()
Specifies the frequency of planned maintenance events.
|
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)
Specifies the frequency of planned maintenance events.
|
AllocationSpecificSKUAllocationReservedInstanceProperties |
setMinCpuPlatform(String minCpuPlatform)
Minimum cpu platform the 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 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 com.google.api.client.json.GenericJson
public AllocationSpecificSKUAllocationReservedInstanceProperties clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.