public final class AccessConfig 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 Compute Engine API. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
AccessConfig() |
Modifier and Type | Method and Description |
---|---|
AccessConfig |
clone() |
String |
getKind()
Type of the resource.
|
String |
getName()
Name of this access configuration.
|
String |
getNatIP()
An external IP address associated with this instance.
|
String |
getType()
Type of configuration.
|
AccessConfig |
set(String fieldName,
Object value) |
AccessConfig |
setKind(String kind)
Type of the resource.
|
AccessConfig |
setName(String name)
Name of this access configuration.
|
AccessConfig |
setNatIP(String natIP)
An external IP address associated with this instance.
|
AccessConfig |
setType(String type)
Type of configuration.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getKind()
null
for nonepublic AccessConfig setKind(String kind)
kind
- kind or null
for nonepublic String getName()
null
for nonepublic AccessConfig setName(String name)
name
- name or null
for nonepublic String getNatIP()
null
for nonepublic AccessConfig setNatIP(String natIP)
natIP
- natIP or null
for nonepublic String getType()
null
for nonepublic AccessConfig setType(String type)
type
- type or null
for nonepublic AccessConfig set(String fieldName, Object value)
set
in class GenericJson
public AccessConfig clone()
clone
in class GenericJson