Class TxtRecord


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

      • TxtRecord

        public TxtRecord()
    • Method Detail

      • 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.