Class ZoneInfo.Builder

  • Direct Known Subclasses:
    Zone.Builder
    Enclosing class:
    ZoneInfo

    public abstract static class ZoneInfo.Builder
    extends Object
    Builder for ZoneInfo.
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • setName

        public abstract ZoneInfo.Builder setName​(String name)
        Sets a mandatory user-provided name for the zone. It must be unique within the project.
      • setDnsName

        public abstract ZoneInfo.Builder setDnsName​(String dnsName)
        Sets a mandatory DNS name of this zone, for instance "example.com.".
      • setDescription

        public abstract ZoneInfo.Builder setDescription​(String description)
        Sets a mandatory description for this zone. The value is a string of at most 1024 characters which has no effect on the zone's function.
      • build

        public abstract ZoneInfo build()
        Builds the instance of ZoneInfo based on the information set by this builder.