public final class Scheduling 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 | 
|---|
Scheduling()  | 
| Modifier and Type | Method and Description | 
|---|---|
Scheduling | 
clone()  | 
Boolean | 
getAutomaticRestart()
Specifies whether the instance should be automatically restarted if it is terminated by Compute
 Engine (not terminated by a user). 
 | 
Boolean | 
getLatencyTolerant()
Defines whether the instance is tolerant of higher cpu latency. 
 | 
String | 
getLocationHint()
An opaque location hint used to place the instance close to other resources. 
 | 
Integer | 
getMaintenanceFreezeDurationHours()
Specifies the number of hours after instance creation where the instance won't be scheduled for
 maintenance. 
 | 
String | 
getMaintenanceInterval()
Specifies whether this VM may be a stable fleet VM. 
 | 
Integer | 
getMinNodeCpus()
The minimum number of virtual CPUs this instance will consume when running on a sole-tenant
 node. 
 | 
List<SchedulingNodeAffinity> | 
getNodeAffinities()
A set of node affinity and anti-affinity configurations. 
 | 
String | 
getOnHostMaintenance()
Defines the maintenance behavior for this instance. 
 | 
Boolean | 
getPreemptible()
Defines whether the instance is preemptible. 
 | 
Scheduling | 
set(String fieldName,
   Object value)  | 
Scheduling | 
setAutomaticRestart(Boolean automaticRestart)
Specifies whether the instance should be automatically restarted if it is terminated by Compute
 Engine (not terminated by a user). 
 | 
Scheduling | 
setLatencyTolerant(Boolean latencyTolerant)
Defines whether the instance is tolerant of higher cpu latency. 
 | 
Scheduling | 
setLocationHint(String locationHint)
An opaque location hint used to place the instance close to other resources. 
 | 
Scheduling | 
setMaintenanceFreezeDurationHours(Integer maintenanceFreezeDurationHours)
Specifies the number of hours after instance creation where the instance won't be scheduled for
 maintenance. 
 | 
Scheduling | 
setMaintenanceInterval(String maintenanceInterval)
Specifies whether this VM may be a stable fleet VM. 
 | 
Scheduling | 
setMinNodeCpus(Integer minNodeCpus)
The minimum number of virtual CPUs this instance will consume when running on a sole-tenant
 node. 
 | 
Scheduling | 
setNodeAffinities(List<SchedulingNodeAffinity> nodeAffinities)
A set of node affinity and anti-affinity configurations. 
 | 
Scheduling | 
setOnHostMaintenance(String onHostMaintenance)
Defines the maintenance behavior for this instance. 
 | 
Scheduling | 
setPreemptible(Boolean preemptible)
Defines whether the instance is preemptible. 
 | 
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 Boolean getAutomaticRestart()
null for nonepublic Scheduling setAutomaticRestart(Boolean automaticRestart)
automaticRestart - automaticRestart or null for nonepublic Boolean getLatencyTolerant()
null for nonepublic Scheduling setLatencyTolerant(Boolean latencyTolerant)
latencyTolerant - latencyTolerant or null for nonepublic String getLocationHint()
null for nonepublic Scheduling setLocationHint(String locationHint)
locationHint - locationHint or null for nonepublic Integer getMaintenanceFreezeDurationHours()
null for nonepublic Scheduling setMaintenanceFreezeDurationHours(Integer maintenanceFreezeDurationHours)
maintenanceFreezeDurationHours - maintenanceFreezeDurationHours or null for nonepublic String getMaintenanceInterval()
null for nonepublic Scheduling setMaintenanceInterval(String maintenanceInterval)
maintenanceInterval - maintenanceInterval or null for nonepublic Integer getMinNodeCpus()
null for nonepublic Scheduling setMinNodeCpus(Integer minNodeCpus)
minNodeCpus - minNodeCpus or null for nonepublic List<SchedulingNodeAffinity> getNodeAffinities()
null for nonepublic Scheduling setNodeAffinities(List<SchedulingNodeAffinity> nodeAffinities)
nodeAffinities - nodeAffinities or null for nonepublic String getOnHostMaintenance()
null for nonepublic Scheduling setOnHostMaintenance(String onHostMaintenance)
onHostMaintenance - onHostMaintenance or null for nonepublic Boolean getPreemptible()
null for nonepublic Scheduling setPreemptible(Boolean preemptible)
preemptible - preemptible or null for nonepublic Scheduling set(String fieldName, Object value)
set in class GenericJsonpublic Scheduling clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.