public final class AccessConfig
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 |
---|
AccessConfig() |
Modifier and Type | Method and Description |
---|---|
AccessConfig |
clone() |
java.lang.String |
getKind()
[Output Only] Type of the resource.
|
java.lang.String |
getName()
Name of this access configuration.
|
java.lang.String |
getNatIP()
An external IP address associated with this instance.
|
java.lang.String |
getType()
The type of configuration.
|
AccessConfig |
set(java.lang.String fieldName,
java.lang.Object value) |
AccessConfig |
setKind(java.lang.String kind)
[Output Only] Type of the resource.
|
AccessConfig |
setName(java.lang.String name)
Name of this access configuration.
|
AccessConfig |
setNatIP(java.lang.String natIP)
An external IP address associated with this instance.
|
AccessConfig |
setType(java.lang.String type)
The type of configuration.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getKind()
null
for nonepublic AccessConfig setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getName()
null
for nonepublic AccessConfig setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getNatIP()
null
for nonepublic AccessConfig setNatIP(java.lang.String natIP)
natIP
- natIP or null
for nonepublic java.lang.String getType()
null
for nonepublic AccessConfig setType(java.lang.String type)
type
- type or null
for nonepublic AccessConfig set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public AccessConfig clone()
clone
in class com.google.api.client.json.GenericJson