Class ZoneInfo

    • Method Detail

      • of

        public static ZoneInfo of​(String name,
                                  String dnsName,
                                  String description)
        Returns a ZoneInfo object with assigned name, dnsName and description.
      • newBuilder

        public static ZoneInfo.Builder newBuilder​(String name)
        Returns a ZoneInfo builder where the DNS name is set to the provided name.
      • getName

        public String getName()
        Returns the user-defined name of the zone.
      • getGeneratedId

        public String getGeneratedId()
        Returns the service-generated id for this zone.
      • getCreationTimeMillis

        public Long getCreationTimeMillis()
        Returns the time when this zone was created on the server.
      • getDnsName

        public String getDnsName()
        Returns the DNS name of this zone, for instance "example.com.".
      • getDescription

        public String getDescription()
        Returns the description of this 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.
      • getLabels

        public Map<String,​String> getLabels()
        Returns the labels for this zone.
      • getNameServers

        public List<String> getNameServers()
        The nameservers that the zone should be delegated to. This is defined by the Google DNS cloud.
      • toBuilder

        public ZoneInfo.Builder toBuilder()
        Returns a builder for ZoneInfo prepopulated with the metadata of this zone.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object