Interface TestDnsAnswerResponse.Builder

    • Method Detail

      • nameserver

        TestDnsAnswerResponse.Builder nameserver​(String nameserver)

        The Amazon Route 53 name server used to respond to the request.

        Parameters:
        nameserver - The Amazon Route 53 name server used to respond to the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recordName

        TestDnsAnswerResponse.Builder recordName​(String recordName)

        The name of the resource record set that you submitted a request for.

        Parameters:
        recordName - The name of the resource record set that you submitted a request for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recordType

        TestDnsAnswerResponse.Builder recordType​(String recordType)

        The type of the resource record set that you submitted a request for.

        Parameters:
        recordType - The type of the resource record set that you submitted a request for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RRType, RRType
      • recordType

        TestDnsAnswerResponse.Builder recordType​(RRType recordType)

        The type of the resource record set that you submitted a request for.

        Parameters:
        recordType - The type of the resource record set that you submitted a request for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RRType, RRType
      • recordData

        TestDnsAnswerResponse.Builder recordData​(Collection<String> recordData)

        A list that contains values that Amazon Route 53 returned for this resource record set.

        Parameters:
        recordData - A list that contains values that Amazon Route 53 returned for this resource record set.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recordData

        TestDnsAnswerResponse.Builder recordData​(String... recordData)

        A list that contains values that Amazon Route 53 returned for this resource record set.

        Parameters:
        recordData - A list that contains values that Amazon Route 53 returned for this resource record set.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • responseCode

        TestDnsAnswerResponse.Builder responseCode​(String responseCode)

        A code that indicates whether the request is valid or not. The most common response code is NOERROR, meaning that the request is valid. If the response is not valid, Amazon Route 53 returns a response code that describes the error. For a list of possible response codes, see DNS RCODES on the IANA website.

        Parameters:
        responseCode - A code that indicates whether the request is valid or not. The most common response code is NOERROR, meaning that the request is valid. If the response is not valid, Amazon Route 53 returns a response code that describes the error. For a list of possible response codes, see DNS RCODES on the IANA website.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • protocol

        TestDnsAnswerResponse.Builder protocol​(String protocol)

        The protocol that Amazon Route 53 used to respond to the request, either UDP or TCP .

        Parameters:
        protocol - The protocol that Amazon Route 53 used to respond to the request, either UDP or TCP.
        Returns:
        Returns a reference to this object so that method calls can be chained together.