Class ResourceRecord

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class ResourceRecord
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Resource record details.
    • Method Detail

      • getId

        public String getId()
        Gets the id. Identifier of the resource record.
        Returns:
        the id
      • getCreatedOn

        public Date getCreatedOn()
        Gets the createdOn. The time when a resource record is created.
        Returns:
        the createdOn
      • getModifiedOn

        public Date getModifiedOn()
        Gets the modifiedOn. The recent time when a resource record is modified.
        Returns:
        the modifiedOn
      • getName

        public String getName()
        Gets the name. Name of the resource record.
        Returns:
        the name
      • getType

        public String getType()
        Gets the type. Type of the resource record.
        Returns:
        the type
      • getTtl

        public Long getTtl()
        Gets the ttl. Time to live in second.
        Returns:
        the ttl
      • getRdata

        public Map<String,​Object> getRdata()
        Gets the rdata. Content of the resource record.
        Returns:
        the rdata
      • getService

        public String getService()
        Gets the service. Only used for SRV record.
        Returns:
        the service
      • getProtocol

        public String getProtocol()
        Gets the protocol. Only used for SRV record.
        Returns:
        the protocol