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.Builder
setName
in class ZoneInfo.Builder
public Zone.Builder setDnsName(String dnsName)
ZoneInfo.Builder
setDnsName
in class ZoneInfo.Builder
public Zone.Builder setDescription(String description)
ZoneInfo.Builder
setDescription
in class ZoneInfo.Builder
public Zone build()
ZoneInfo.Builder
ZoneInfo
based on the information set by this builder.build
in class ZoneInfo.Builder
Copyright © 2019 Google LLC. All rights reserved.