Class DesignateZone

    • Constructor Detail

      • DesignateZone

        public DesignateZone()
    • Method Detail

      • builder

        public static ZoneBuilder builder()
        Returns:
        the zone builder
      • getId

        public String getId()
        Specified by:
        getId in interface Zone
        Returns:
        the id of the zone
      • getPoolId

        public String getPoolId()
        Specified by:
        getPoolId in interface Zone
        Returns:
        id for the pool hosting this zone
      • getProjectId

        public String getProjectId()
        Specified by:
        getProjectId in interface Zone
        Returns:
        id for the project that owns the resource
      • getName

        public String getName()
        Specified by:
        getName in interface Zone
        Returns:
        DNS Name for the zone
      • getEmail

        public String getEmail()
        Specified by:
        getEmail in interface Zone
        Returns:
        e-mail for the zone. Used in SOA records for the zone
      • getTTL

        public Integer getTTL()
        Specified by:
        getTTL in interface Zone
        Returns:
        TTL (time to Live) for the zone.
      • getSerial

        public String getSerial()
        Specified by:
        getSerial in interface Zone
        Returns:
        current serial number for the zone
      • getStatus

        public Status getStatus()
        Specified by:
        getStatus in interface Zone
        Returns:
        status of the resource
      • getAction

        public Action getAction()
        Specified by:
        getAction in interface Zone
        Returns:
        current action in progress on the resource
      • getDescription

        public String getDescription()
        Specified by:
        getDescription in interface Zone
        Returns:
        description for this zone
      • getMasters

        public List<String> getMasters()
        Specified by:
        getMasters in interface Zone
        Returns:
        mandatory for secondary zones. The servers to slave from to get DNS information
      • getType

        public ZoneType getType()
        Specified by:
        getType in interface Zone
        Returns:
        type of zone.
      • getTransferedAt

        public String getTransferedAt()
        Specified by:
        getTransferedAt in interface Zone
        Returns:
        for secondary zones. The last time an update was retrieved from the master servers.
      • getVersion

        public Integer getVersion()
        Specified by:
        getVersion in interface Zone
        Returns:
        version of the resource
      • getCreatedAt

        public String getCreatedAt()
        Specified by:
        getCreatedAt in interface Zone
        Returns:
        date / time when resource was created
      • getUpdatedAt

        public String getUpdatedAt()
        Specified by:
        getUpdatedAt in interface Zone
        Returns:
        date / time when resource last updated
      • getLinks

        public Map<String,​String> getLinks()
        Specified by:
        getLinks in interface Zone
        Returns:
        links to the resource, and other related resources
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object