public final class Network 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 |
|---|
Network() |
| Modifier and Type | Method and Description |
|---|---|
Network |
clone() |
String |
getName()
The network name to attach the VM's network interface to.
|
String |
getSubnetwork()
If the specified network is configured for custom subnet creation, the name of the subnetwork
to attach the instance to must be specified here.
|
Boolean |
getUsePrivateAddress()
If set to true, do not attach a public IP address to the VM.
|
Network |
set(String fieldName,
Object value) |
Network |
setName(String name)
The network name to attach the VM's network interface to.
|
Network |
setSubnetwork(String subnetwork)
If the specified network is configured for custom subnet creation, the name of the subnetwork
to attach the instance to must be specified here.
|
Network |
setUsePrivateAddress(Boolean usePrivateAddress)
If set to true, do not attach a public IP address to the VM.
|
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 getName()
null for nonepublic Network setName(String name)
name - name or null for nonepublic String getSubnetwork()
null for nonepublic Network setSubnetwork(String subnetwork)
subnetwork - subnetwork or null for nonepublic Boolean getUsePrivateAddress()
null for nonepublic Network setUsePrivateAddress(Boolean usePrivateAddress)
usePrivateAddress - usePrivateAddress or null for nonepublic Network set(String fieldName, Object value)
set in class GenericJsonpublic Network clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.