public final class Network
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 App Engine Admin 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
Constructor and Description |
---|
Network() |
Modifier and Type | Method and Description |
---|---|
Network |
clone() |
java.util.List<java.lang.String> |
getForwardedPorts()
List of ports, or port pairs, to forward from the virtual machine to the application container.
|
java.lang.String |
getInstanceTag()
Tag to apply to the instance during creation.
|
java.lang.String |
getName()
Google Compute Engine network where the virtual machines are created.
|
java.lang.Boolean |
getSessionAffinity()
Enable session affinity.
|
java.lang.String |
getSubnetworkName()
Google Cloud Platform sub-network where the virtual machines are created.
|
Network |
set(java.lang.String fieldName,
java.lang.Object value) |
Network |
setForwardedPorts(java.util.List<java.lang.String> forwardedPorts)
List of ports, or port pairs, to forward from the virtual machine to the application container.
|
Network |
setInstanceTag(java.lang.String instanceTag)
Tag to apply to the instance during creation.
|
Network |
setName(java.lang.String name)
Google Compute Engine network where the virtual machines are created.
|
Network |
setSessionAffinity(java.lang.Boolean sessionAffinity)
Enable session affinity.
|
Network |
setSubnetworkName(java.lang.String subnetworkName)
Google Cloud Platform sub-network where the virtual machines are created.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<java.lang.String> getForwardedPorts()
null
for nonepublic Network setForwardedPorts(java.util.List<java.lang.String> forwardedPorts)
forwardedPorts
- forwardedPorts or null
for nonepublic java.lang.String getInstanceTag()
null
for nonepublic Network setInstanceTag(java.lang.String instanceTag)
instanceTag
- instanceTag or null
for nonepublic java.lang.String getName()
null
for nonepublic Network setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.Boolean getSessionAffinity()
null
for nonepublic Network setSessionAffinity(java.lang.Boolean sessionAffinity)
sessionAffinity
- sessionAffinity or null
for nonepublic java.lang.String getSubnetworkName()
null
for nonepublic Network setSubnetworkName(java.lang.String subnetworkName)
subnetworkName
- subnetworkName or null
for nonepublic Network set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Network clone()
clone
in class com.google.api.client.json.GenericJson