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 IP address represented by this resource.
|
java.lang.String |
getAddressType()
The type of address to reserve, either INTERNAL or EXTERNAL.
|
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 |
getIpVersion()
The IP version that will be used by this address.
|
java.lang.String |
getKind()
[Output Only] Type of the resource.
|
java.lang.String |
getName()
Name of the resource.
|
java.lang.String |
getNetwork()
The URL of the network in which to reserve the address.
|
java.lang.String |
getNetworkTier()
This signifies the networking tier used for configuring this address and can only take the
following values: PREMIUM or STANDARD.
|
java.lang.Integer |
getPrefixLength()
The prefix length if the resource reprensents an IP range.
|
java.lang.String |
getPurpose()
The purpose of this resource, which can be one of the following values: - `GCE_ENDPOINT` for
addresses that are used by VM instances, alias IP ranges, internal load balancers, and similar
resources.
|
java.lang.String |
getRegion()
[Output Only] The 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 one of RESERVING, RESERVED, or IN_USE.
|
java.lang.String |
getSubnetwork()
The URL of the subnetwork in which to reserve the address.
|
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 IP address represented by this resource.
|
Address |
setAddressType(java.lang.String addressType)
The type of address to reserve, either INTERNAL or EXTERNAL.
|
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 |
setIpVersion(java.lang.String ipVersion)
The IP version that will be used by this address.
|
Address |
setKind(java.lang.String kind)
[Output Only] Type of the resource.
|
Address |
setName(java.lang.String name)
Name of the resource.
|
Address |
setNetwork(java.lang.String network)
The URL of the network in which to reserve the address.
|
Address |
setNetworkTier(java.lang.String networkTier)
This signifies the networking tier used for configuring this address and can only take the
following values: PREMIUM or STANDARD.
|
Address |
setPrefixLength(java.lang.Integer prefixLength)
The prefix length if the resource reprensents an IP range.
|
Address |
setPurpose(java.lang.String purpose)
The purpose of this resource, which can be one of the following values: - `GCE_ENDPOINT` for
addresses that are used by VM instances, alias IP ranges, internal load balancers, and similar
resources.
|
Address |
setRegion(java.lang.String region)
[Output Only] The 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 one of RESERVING, RESERVED, or IN_USE.
|
Address |
setSubnetwork(java.lang.String subnetwork)
The URL of the subnetwork in which to reserve the address.
|
Address |
setUsers(java.util.List<java.lang.String> users)
[Output Only] The URLs of the resources that are using this address.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAddress()
null
for nonepublic Address setAddress(java.lang.String address)
address
- address or null
for nonepublic java.lang.String getAddressType()
null
for nonepublic Address setAddressType(java.lang.String addressType)
addressType
- addressType 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 getIpVersion()
null
for nonepublic Address setIpVersion(java.lang.String ipVersion)
ipVersion
- ipVersion 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 getNetwork()
null
for nonepublic Address setNetwork(java.lang.String network)
network
- network or null
for nonepublic java.lang.String getNetworkTier()
null
for nonepublic Address setNetworkTier(java.lang.String networkTier)
networkTier
- networkTier or null
for nonepublic java.lang.Integer getPrefixLength()
null
for nonepublic Address setPrefixLength(java.lang.Integer prefixLength)
prefixLength
- prefixLength or null
for nonepublic java.lang.String getPurpose()
null
for nonepublic Address setPurpose(java.lang.String purpose)
purpose
- purpose 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.lang.String getSubnetwork()
null
for nonepublic Address setSubnetwork(java.lang.String subnetwork)
subnetwork
- subnetwork 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.GenericJson
public Address clone()
clone
in class com.google.api.client.json.GenericJson