|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.compute.model.NetworkInterface
public final class NetworkInterface
A network interface resource attached to an instance.
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-api-java-client/wiki/Json
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData |
---|
GenericData.Flags |
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Constructor Summary | |
---|---|
NetworkInterface()
|
Method Summary | |
---|---|
NetworkInterface |
clone()
|
List<AccessConfig> |
getAccessConfigs()
Array of configurations for this interface. |
String |
getKind()
Type of the resource. |
String |
getName()
Name of the resource, determined by the server; for network devices, these are e.g. |
String |
getNetwork()
URL of the network resource attached to this interface. |
String |
getNetworkIP()
An optional IPV4 internal network address to assign to this instance. |
NetworkInterface |
set(String fieldName,
Object value)
|
NetworkInterface |
setAccessConfigs(List<AccessConfig> accessConfigs)
Array of configurations for this interface. |
NetworkInterface |
setKind(String kind)
Type of the resource. |
NetworkInterface |
setName(String name)
Name of the resource, determined by the server; for network devices, these are e.g. |
NetworkInterface |
setNetwork(String network)
URL of the network resource attached to this interface. |
NetworkInterface |
setNetworkIP(String networkIP)
An optional IPV4 internal network address to assign to this instance. |
Methods inherited from class com.google.api.client.json.GenericJson |
---|
getFactory, setFactory, toPrettyString, toString |
Methods inherited from class com.google.api.client.util.GenericData |
---|
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys |
Methods inherited from class java.util.AbstractMap |
---|
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NetworkInterface()
Method Detail |
---|
public List<AccessConfig> getAccessConfigs()
null
for nonepublic NetworkInterface setAccessConfigs(List<AccessConfig> accessConfigs)
accessConfigs
- accessConfigs or null
for nonepublic String getKind()
null
for nonepublic NetworkInterface setKind(String kind)
kind
- kind or null
for nonepublic String getName()
null
for nonepublic NetworkInterface setName(String name)
name
- name or null
for nonepublic String getNetwork()
null
for nonepublic NetworkInterface setNetwork(String network)
network
- network or null
for nonepublic String getNetworkIP()
null
for nonepublic NetworkInterface setNetworkIP(String networkIP)
networkIP
- networkIP or null
for nonepublic NetworkInterface set(String fieldName, Object value)
set
in class GenericJson
public NetworkInterface clone()
clone
in class GenericJson
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |