Class TxtRecord

java.lang.Object
com.azure.resourcemanager.dns.models.TxtRecord

public final class TxtRecord extends Object
A TXT record.
  • Constructor Details

    • TxtRecord

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

    • value

      public List<String> value()
      Get the value property: The text value of this TXT record.
      Returns:
      the value value.
    • withValue

      public TxtRecord withValue(List<String> value)
      Set the value property: The text value of this TXT record.
      Parameters:
      value - the value value to set.
      Returns:
      the TxtRecord object itself.
    • validate

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