public final class Network 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 |
---|
Network() |
Modifier and Type | Method and Description |
---|---|
Network |
clone() |
String |
getCreationTimestamp()
Creation timestamp in RFC3339 text format (output only).
|
String |
getDescription()
An optional textual description of the resource; provided by the client when the resource is
created.
|
String |
getGatewayIPv4()
An optional address that is used for default routing to other networks.
|
BigInteger |
getId()
Unique identifier for the resource; defined by the server (output only).
|
String |
getIPv4Range()
Required; The range of internal addresses that are legal on this network.
|
String |
getKind()
Type of the resource.
|
String |
getName()
Name of the resource; provided by the client when the resource is created.
|
String |
getSelfLink()
Server defined URL for the resource (output only).
|
Network |
set(String fieldName,
Object value) |
Network |
setCreationTimestamp(String creationTimestamp)
Creation timestamp in RFC3339 text format (output only).
|
Network |
setDescription(String description)
An optional textual description of the resource; provided by the client when the resource is
created.
|
Network |
setGatewayIPv4(String gatewayIPv4)
An optional address that is used for default routing to other networks.
|
Network |
setId(BigInteger id)
Unique identifier for the resource; defined by the server (output only).
|
Network |
setIPv4Range(String iPv4Range)
Required; The range of internal addresses that are legal on this network.
|
Network |
setKind(String kind)
Type of the resource.
|
Network |
setName(String name)
Name of the resource; provided by the client when the resource is created.
|
Network |
setSelfLink(String selfLink)
Server defined URL for the resource (output only).
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getIPv4Range()
null
for nonepublic Network setIPv4Range(String iPv4Range)
iPv4Range
- iPv4Range or null
for nonepublic String getCreationTimestamp()
null
for nonepublic Network setCreationTimestamp(String creationTimestamp)
creationTimestamp
- creationTimestamp or null
for nonepublic String getDescription()
null
for nonepublic Network setDescription(String description)
description
- description or null
for nonepublic String getGatewayIPv4()
null
for nonepublic Network setGatewayIPv4(String gatewayIPv4)
gatewayIPv4
- gatewayIPv4 or null
for nonepublic BigInteger getId()
null
for nonepublic Network setId(BigInteger id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic Network setKind(String kind)
kind
- kind or null
for nonepublic String getName()
null
for nonepublic Network setName(String name)
name
- name or null
for nonepublic String getSelfLink()
null
for nonepublic Network setSelfLink(String selfLink)
selfLink
- selfLink or null
for nonepublic Network set(String fieldName, Object value)
set
in class GenericJson
public Network clone()
clone
in class GenericJson