public final class Address
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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Address() |
| Modifier and Type | Method and Description |
|---|---|
Address |
clone() |
java.lang.String |
getAddress()
The static external IP address represented by this resource.
|
java.lang.String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
java.lang.String |
getDescription()
An optional description of this resource.
|
java.math.BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
java.lang.String |
getKind()
[Output Only] Type of the resource.
|
java.lang.String |
getName()
Name of the resource.
|
java.lang.String |
getRegion()
[Output Only] URL of the region where the regional address resides.
|
java.lang.String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
java.lang.String |
getStatus()
[Output Only] The status of the address, which can be either IN_USE or RESERVED.
|
java.util.List<java.lang.String> |
getUsers()
[Output Only] The URLs of the resources that are using this address.
|
Address |
set(java.lang.String fieldName,
java.lang.Object value) |
Address |
setAddress(java.lang.String address)
The static external IP address represented by this resource.
|
Address |
setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
Address |
setDescription(java.lang.String description)
An optional description of this resource.
|
Address |
setId(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
Address |
setKind(java.lang.String kind)
[Output Only] Type of the resource.
|
Address |
setName(java.lang.String name)
Name of the resource.
|
Address |
setRegion(java.lang.String region)
[Output Only] URL of the region where the regional address resides.
|
Address |
setSelfLink(java.lang.String selfLink)
[Output Only] Server-defined URL for the resource.
|
Address |
setStatus(java.lang.String status)
[Output Only] The status of the address, which can be either IN_USE or RESERVED.
|
Address |
setUsers(java.util.List<java.lang.String> users)
[Output Only] The URLs of the resources that are using this address.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getAddress()
null for nonepublic Address setAddress(java.lang.String address)
address - address or null for nonepublic java.lang.String getCreationTimestamp()
null for nonepublic Address setCreationTimestamp(java.lang.String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic java.lang.String getDescription()
null for nonepublic Address setDescription(java.lang.String description)
description - description or null for nonepublic java.math.BigInteger getId()
null for nonepublic Address setId(java.math.BigInteger id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic Address setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic Address setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getRegion()
null for nonepublic Address setRegion(java.lang.String region)
region - region or null for nonepublic java.lang.String getSelfLink()
null for nonepublic Address setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic java.lang.String getStatus()
null for nonepublic Address setStatus(java.lang.String status)
status - status or null for nonepublic java.util.List<java.lang.String> getUsers()
null for nonepublic Address setUsers(java.util.List<java.lang.String> users)
users - users or null for nonepublic Address set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Address clone()
clone in class com.google.api.client.json.GenericJson