java.lang.Object
com.azure.resourcemanager.privatedns.models.PtrRecord

public final class PtrRecord extends Object
A PTR record.
  • Constructor Details

    • PtrRecord

      public PtrRecord()
  • Method Details

    • ptrdname

      public String ptrdname()
      Get the ptrdname property: The PTR target domain name for this PTR record.
      Returns:
      the ptrdname value.
    • withPtrdname

      public PtrRecord withPtrdname(String ptrdname)
      Set the ptrdname property: The PTR target domain name for this PTR record.
      Parameters:
      ptrdname - the ptrdname value to set.
      Returns:
      the PtrRecord object itself.
    • validate

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