public final class Resources 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 Genomics 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 |
|---|
Resources() |
| Modifier and Type | Method and Description |
|---|---|
Resources |
clone() |
String |
getProjectId()
The project ID to allocate resources in.
|
List<String> |
getRegions()
The list of regions allowed for VM allocation.
|
VirtualMachine |
getVirtualMachine()
The virtual machine specification.
|
List<String> |
getZones()
The list of zones allowed for VM allocation.
|
Resources |
set(String fieldName,
Object value) |
Resources |
setProjectId(String projectId)
The project ID to allocate resources in.
|
Resources |
setRegions(List<String> regions)
The list of regions allowed for VM allocation.
|
Resources |
setVirtualMachine(VirtualMachine virtualMachine)
The virtual machine specification.
|
Resources |
setZones(List<String> zones)
The list of zones allowed for VM allocation.
|
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 String getProjectId()
null for nonepublic Resources setProjectId(String projectId)
projectId - projectId or null for nonepublic List<String> getRegions()
null for nonepublic Resources setRegions(List<String> regions)
regions - regions or null for nonepublic VirtualMachine getVirtualMachine()
null for nonepublic Resources setVirtualMachine(VirtualMachine virtualMachine)
virtualMachine - virtualMachine or null for nonepublic List<String> getZones()
null for nonepublic Resources setZones(List<String> zones)
zones - zones or null for nonepublic Resources set(String fieldName, Object value)
set in class GenericJsonpublic Resources clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.