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: https://developers.google.com/api-client-library/java/google-http-java-client/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()
The name of this access configuration.
|
java.lang.String |
getNatIP()
An external IP address associated with this instance.
|
java.lang.String |
getNetworkTier()
This signifies the networking tier used for configuring this access configuration and can only
take the following values: PREMIUM, STANDARD.
|
java.lang.String |
getPublicDnsName()
[Output Only] The public DNS domain name for the instance.
|
java.lang.String |
getPublicPtrDomainName()
The DNS domain name for the public PTR record.
|
java.lang.Boolean |
getSetPublicDns()
Specifies whether a public DNS ?A? record should be created for the external IP address of this
access configuration.
|
java.lang.Boolean |
getSetPublicPtr()
Specifies whether a public DNS ?PTR? record should be created to map the external IP address of
the instance to a DNS domain name.
|
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)
The name of this access configuration.
|
AccessConfig |
setNatIP(java.lang.String natIP)
An external IP address associated with this instance.
|
AccessConfig |
setNetworkTier(java.lang.String networkTier)
This signifies the networking tier used for configuring this access configuration and can only
take the following values: PREMIUM, STANDARD.
|
AccessConfig |
setPublicDnsName(java.lang.String publicDnsName)
[Output Only] The public DNS domain name for the instance.
|
AccessConfig |
setPublicPtrDomainName(java.lang.String publicPtrDomainName)
The DNS domain name for the public PTR record.
|
AccessConfig |
setSetPublicDns(java.lang.Boolean setPublicDns)
Specifies whether a public DNS ?A? record should be created for the external IP address of this
access configuration.
|
AccessConfig |
setSetPublicPtr(java.lang.Boolean setPublicPtr)
Specifies whether a public DNS ?PTR? record should be created to map the external IP address of
the instance to a DNS domain name.
|
AccessConfig |
setType(java.lang.String type)
The 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 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 getNetworkTier()
null
for nonepublic AccessConfig setNetworkTier(java.lang.String networkTier)
networkTier
- networkTier or null
for nonepublic java.lang.String getPublicDnsName()
null
for nonepublic AccessConfig setPublicDnsName(java.lang.String publicDnsName)
publicDnsName
- publicDnsName or null
for nonepublic java.lang.String getPublicPtrDomainName()
null
for nonepublic AccessConfig setPublicPtrDomainName(java.lang.String publicPtrDomainName)
publicPtrDomainName
- publicPtrDomainName or null
for nonepublic java.lang.Boolean getSetPublicDns()
null
for nonepublic AccessConfig setSetPublicDns(java.lang.Boolean setPublicDns)
setPublicDns
- setPublicDns or null
for nonepublic java.lang.Boolean getSetPublicPtr()
null
for nonepublic AccessConfig setSetPublicPtr(java.lang.Boolean setPublicPtr)
setPublicPtr
- setPublicPtr 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