public class ZoneInfo extends Object implements Serializable
Zone
represents a DNS zone hosted by the Google Cloud DNS service. A zone is a subtree
of the DNS namespace under one administrative responsibility. See Google Cloud DNS documentation for
more information.Modifier and Type | Class and Description |
---|---|
static class |
ZoneInfo.Builder
Builder for
ZoneInfo . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Long |
getCreationTimeMillis()
Returns the time when this zone was created on the server.
|
String |
getDescription()
Returns the description of this zone.
|
String |
getDnsName()
Returns the DNS name of this zone, for instance "example.com.".
|
String |
getGeneratedId()
Returns the service-generated id for this zone.
|
String |
getName()
Returns the user-defined name of the zone.
|
List<String> |
getNameServers()
The nameservers that the zone should be delegated to.
|
String |
getNameServerSet()
Returns the optionally specified set of DNS name servers that all host this zone.
|
int |
hashCode() |
static ZoneInfo |
of(String name,
String dnsName,
String description)
Returns a ZoneInfo object with assigned
name , dnsName and description . |
ZoneInfo.Builder |
toBuilder()
Returns a builder for
ZoneInfo prepopulated with the metadata of this zone. |
String |
toString() |
public static ZoneInfo of(String name, String dnsName, String description)
name
, dnsName
and description
.public String getName()
public String getGeneratedId()
public Long getCreationTimeMillis()
public String getDnsName()
public String getDescription()
public String getNameServerSet()
public List<String> getNameServers()
public ZoneInfo.Builder toBuilder()
ZoneInfo
prepopulated with the metadata of this zone.Copyright © 2019 Google LLC. All rights reserved.