public final class NetworkInterface
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: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
NetworkInterface() |
Modifier and Type | Method and Description |
---|---|
NetworkInterface |
clone() |
java.util.List<AccessConfig> |
getAccessConfigs()
An array of configurations for this interface.
|
java.lang.String |
getName()
[Output Only] The name of the network interface, generated by the server.
|
java.lang.String |
getNetwork()
URL of the network resource for this instance.
|
java.lang.String |
getNetworkIP()
[Output Only] An optional IPV4 internal network address assigned to the instance for this
network interface.
|
NetworkInterface |
set(java.lang.String fieldName,
java.lang.Object value) |
NetworkInterface |
setAccessConfigs(java.util.List<AccessConfig> accessConfigs)
An array of configurations for this interface.
|
NetworkInterface |
setName(java.lang.String name)
[Output Only] The name of the network interface, generated by the server.
|
NetworkInterface |
setNetwork(java.lang.String network)
URL of the network resource for this instance.
|
NetworkInterface |
setNetworkIP(java.lang.String networkIP)
[Output Only] An optional IPV4 internal network address assigned to the instance for this
network interface.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.util.List<AccessConfig> getAccessConfigs()
null
for nonepublic NetworkInterface setAccessConfigs(java.util.List<AccessConfig> accessConfigs)
accessConfigs
- accessConfigs or null
for nonepublic java.lang.String getName()
null
for nonepublic NetworkInterface setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getNetwork()
null
for nonepublic NetworkInterface setNetwork(java.lang.String network)
network
- network or null
for nonepublic java.lang.String getNetworkIP()
null
for nonepublic NetworkInterface setNetworkIP(java.lang.String networkIP)
networkIP
- networkIP or null
for nonepublic NetworkInterface set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public NetworkInterface clone()
clone
in class com.google.api.client.json.GenericJson