Send feedback
Class ZoneInfo (2.27.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.27.0 keyboard_arrow_down
public class ZoneInfo implements Serializable
A 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.
Static Methods
newBuilder(String name)
public static ZoneInfo . Builder newBuilder ( String name )
Returns a ZoneInfo
builder where the DNS name is set to the provided name.
Parameter Name Description name
String
of(String name, String dnsName, String description)
public static ZoneInfo of ( String name , String dnsName , String description )
Returns a ZoneInfo object with assigned name
, dnsName
and description
.
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getCreationTimeMillis()
public Long getCreationTimeMillis ()
Returns the time when this zone was created on the server.
Returns Type Description Long
getDescription()
public String getDescription ()
Returns the description of this zone.
getDnsName()
public String getDnsName ()
Returns the DNS name of this zone, for instance "example.com.".
getDnsSecConfig()
public ZoneInfo . DnsSecConfig getDnsSecConfig ()
getGeneratedId()
public String getGeneratedId ()
Returns the service-generated id for this zone.
getLabels()
public Map<String , String> getLabels ()
Returns the labels for this zone.
getName()
Returns the user-defined name of the zone.
getNameServerSet()
public String getNameServerSet ()
Returns the optionally specified set of DNS name servers that all host this zone. This value is
set only for specific use cases and is left empty for vast majority of users.
getNameServers()
public List<String> getNameServers ()
The nameservers that the zone should be delegated to. This is defined by the Google DNS cloud.
hashCode()
Returns Type Description int
Overrides
toBuilder()
public ZoneInfo . Builder toBuilder ()
Returns a builder for ZoneInfo
prepopulated with the metadata of this zone.
toString()
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-05 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{
"lastModified": "Last updated 2024-09-05 UTC.",
"confidential": False
}