Interface DnsRecord.Builder

    • Method Detail

      • type

        DnsRecord.Builder type​(String type)

        The RFC 1035 record type. Possible values: CNAME, A, MX.

        Parameters:
        type - The RFC 1035 record type. Possible values: CNAME, A, MX.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hostname

        DnsRecord.Builder hostname​(String hostname)

        The DNS hostname.- For example, domain.example.com.

        Parameters:
        hostname - The DNS hostname.- For example, domain.example.com.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • value

        DnsRecord.Builder value​(String value)

        The value returned by the DNS for a query to that hostname and record type.

        Parameters:
        value - The value returned by the DNS for a query to that hostname and record type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.