public final class InstanceFlexibilityPolicyInstanceSelection
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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
InstanceFlexibilityPolicyInstanceSelection() |
| Modifier and Type | Method and Description |
|---|---|
InstanceFlexibilityPolicyInstanceSelection |
clone() |
List<AttachedDisk> |
getDisks()
Disks to be attached to the instances created from in this selection.
|
List<String> |
getMachineTypes()
Alternative machine types to use for instances that are created from these properties.
|
Long |
getRank()
Rank when prioritizing the shape flexibilities.
|
InstanceFlexibilityPolicyInstanceSelection |
set(String fieldName,
Object value) |
InstanceFlexibilityPolicyInstanceSelection |
setDisks(List<AttachedDisk> disks)
Disks to be attached to the instances created from in this selection.
|
InstanceFlexibilityPolicyInstanceSelection |
setMachineTypes(List<String> machineTypes)
Alternative machine types to use for instances that are created from these properties.
|
InstanceFlexibilityPolicyInstanceSelection |
setRank(Long rank)
Rank when prioritizing the shape flexibilities.
|
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 InstanceFlexibilityPolicyInstanceSelection()
public List<AttachedDisk> getDisks()
null for nonepublic InstanceFlexibilityPolicyInstanceSelection setDisks(List<AttachedDisk> disks)
disks - disks or null for nonepublic List<String> getMachineTypes()
null for nonepublic InstanceFlexibilityPolicyInstanceSelection setMachineTypes(List<String> machineTypes)
machineTypes - machineTypes or null for nonepublic Long getRank()
null for nonepublic InstanceFlexibilityPolicyInstanceSelection setRank(Long rank)
rank - rank or null for nonepublic InstanceFlexibilityPolicyInstanceSelection set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic InstanceFlexibilityPolicyInstanceSelection clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.