java.lang.Object
com.azure.resourcemanager.communication.models.DnsRecord

public final class DnsRecord extends Object
A class that represents a VerificationStatus record.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the name property: Name of the DNS record.
    ttl()
    Get the ttl property: Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    Get the type property: Type of the DNS record.
    void
    Validates the instance.
    Get the value property: Value of the DNS record.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DnsRecord

      public DnsRecord()
  • Method Details

    • type

      public String type()
      Get the type property: Type of the DNS record. Example: TXT.
      Returns:
      the type value.
    • name

      public String name()
      Get the name property: Name of the DNS record.
      Returns:
      the name value.
    • value

      public String value()
      Get the value property: Value of the DNS record.
      Returns:
      the value value.
    • ttl

      public Integer ttl()
      Get the ttl property: Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
      Returns:
      the ttl value.
    • validate

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