public static class Zone.Builder extends ZoneInfo.Builder
Zone.| Modifier and Type | Method and Description |
|---|---|
Zone |
build()
Builds the instance of
ZoneInfo based on the information set by this builder. |
Zone.Builder |
setDescription(String description)
Sets a mandatory description for this zone.
|
Zone.Builder |
setDnsName(String dnsName)
Sets a mandatory DNS name of this zone, for instance "example.com.".
|
Zone.Builder |
setName(String name)
Sets a mandatory user-provided name for the zone.
|
public Zone.Builder setName(String name)
ZoneInfo.BuildersetName in class ZoneInfo.Builderpublic Zone.Builder setDnsName(String dnsName)
ZoneInfo.BuildersetDnsName in class ZoneInfo.Builderpublic Zone.Builder setDescription(String description)
ZoneInfo.BuildersetDescription in class ZoneInfo.Builderpublic Zone build()
ZoneInfo.BuilderZoneInfo based on the information set by this builder.build in class ZoneInfo.BuilderCopyright © 2019 Google LLC. All rights reserved.