Class RecordSetProperties

java.lang.Object
com.azure.resourcemanager.privatedns.fluent.models.RecordSetProperties

public final class RecordSetProperties extends Object
Represents the properties of the records in the record set.
  • Constructor Details

    • RecordSetProperties

      public RecordSetProperties()
      Creates an instance of RecordSetProperties class.
  • Method Details

    • metadata

      public Map<String,String> metadata()
      Get the metadata property: The metadata attached to the record set.
      Returns:
      the metadata value.
    • withMetadata

      public RecordSetProperties withMetadata(Map<String,String> metadata)
      Set the metadata property: The metadata attached to the record set.
      Parameters:
      metadata - the metadata value to set.
      Returns:
      the RecordSetProperties object itself.
    • ttl

      public Long ttl()
      Get the ttl property: The TTL (time-to-live) of the records in the record set.
      Returns:
      the ttl value.
    • withTtl

      public RecordSetProperties withTtl(Long ttl)
      Set the ttl property: The TTL (time-to-live) of the records in the record set.
      Parameters:
      ttl - the ttl value to set.
      Returns:
      the RecordSetProperties object itself.
    • fqdn

      public String fqdn()
      Get the fqdn property: Fully qualified domain name of the record set.
      Returns:
      the fqdn value.
    • isAutoRegistered

      public Boolean isAutoRegistered()
      Get the isAutoRegistered property: Is the record set auto-registered in the Private DNS zone through a virtual network link?.
      Returns:
      the isAutoRegistered value.
    • aRecords

      public List<ARecord> aRecords()
      Get the aRecords property: The list of A records in the record set.
      Returns:
      the aRecords value.
    • withARecords

      public RecordSetProperties withARecords(List<ARecord> aRecords)
      Set the aRecords property: The list of A records in the record set.
      Parameters:
      aRecords - the aRecords value to set.
      Returns:
      the RecordSetProperties object itself.
    • aaaaRecords

      public List<AaaaRecord> aaaaRecords()
      Get the aaaaRecords property: The list of AAAA records in the record set.
      Returns:
      the aaaaRecords value.
    • withAaaaRecords

      public RecordSetProperties withAaaaRecords(List<AaaaRecord> aaaaRecords)
      Set the aaaaRecords property: The list of AAAA records in the record set.
      Parameters:
      aaaaRecords - the aaaaRecords value to set.
      Returns:
      the RecordSetProperties object itself.
    • cnameRecord

      public CnameRecord cnameRecord()
      Get the cnameRecord property: The CNAME record in the record set.
      Returns:
      the cnameRecord value.
    • withCnameRecord

      public RecordSetProperties withCnameRecord(CnameRecord cnameRecord)
      Set the cnameRecord property: The CNAME record in the record set.
      Parameters:
      cnameRecord - the cnameRecord value to set.
      Returns:
      the RecordSetProperties object itself.
    • mxRecords

      public List<MxRecord> mxRecords()
      Get the mxRecords property: The list of MX records in the record set.
      Returns:
      the mxRecords value.
    • withMxRecords

      public RecordSetProperties withMxRecords(List<MxRecord> mxRecords)
      Set the mxRecords property: The list of MX records in the record set.
      Parameters:
      mxRecords - the mxRecords value to set.
      Returns:
      the RecordSetProperties object itself.
    • ptrRecords

      public List<PtrRecord> ptrRecords()
      Get the ptrRecords property: The list of PTR records in the record set.
      Returns:
      the ptrRecords value.
    • withPtrRecords

      public RecordSetProperties withPtrRecords(List<PtrRecord> ptrRecords)
      Set the ptrRecords property: The list of PTR records in the record set.
      Parameters:
      ptrRecords - the ptrRecords value to set.
      Returns:
      the RecordSetProperties object itself.
    • soaRecord

      public SoaRecord soaRecord()
      Get the soaRecord property: The SOA record in the record set.
      Returns:
      the soaRecord value.
    • withSoaRecord

      public RecordSetProperties withSoaRecord(SoaRecord soaRecord)
      Set the soaRecord property: The SOA record in the record set.
      Parameters:
      soaRecord - the soaRecord value to set.
      Returns:
      the RecordSetProperties object itself.
    • srvRecords

      public List<SrvRecord> srvRecords()
      Get the srvRecords property: The list of SRV records in the record set.
      Returns:
      the srvRecords value.
    • withSrvRecords

      public RecordSetProperties withSrvRecords(List<SrvRecord> srvRecords)
      Set the srvRecords property: The list of SRV records in the record set.
      Parameters:
      srvRecords - the srvRecords value to set.
      Returns:
      the RecordSetProperties object itself.
    • txtRecords

      public List<TxtRecord> txtRecords()
      Get the txtRecords property: The list of TXT records in the record set.
      Returns:
      the txtRecords value.
    • withTxtRecords

      public RecordSetProperties withTxtRecords(List<TxtRecord> txtRecords)
      Set the txtRecords property: The list of TXT records in the record set.
      Parameters:
      txtRecords - the txtRecords value to set.
      Returns:
      the RecordSetProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.