CopyableBuilder<TestDNSAnswerResponse.Builder,TestDNSAnswerResponse>
, SdkBuilder<TestDNSAnswerResponse.Builder,TestDNSAnswerResponse>
public static interface TestDNSAnswerResponse.Builder extends CopyableBuilder<TestDNSAnswerResponse.Builder,TestDNSAnswerResponse>
Modifier and Type | Method | Description |
---|---|---|
TestDNSAnswerResponse.Builder |
nameserver(String nameserver) |
The Amazon Route 53 name server used to respond to the request.
|
TestDNSAnswerResponse.Builder |
protocol(String protocol) |
The protocol that Amazon Route 53 used to respond to the request, either
UDP or TCP
. |
TestDNSAnswerResponse.Builder |
recordData(String... recordData) |
A list that contains values that Amazon Route 53 returned for this resource record set.
|
TestDNSAnswerResponse.Builder |
recordData(Collection<String> recordData) |
A list that contains values that Amazon Route 53 returned for this resource record set.
|
TestDNSAnswerResponse.Builder |
recordName(String recordName) |
The name of the resource record set that you submitted a request for.
|
TestDNSAnswerResponse.Builder |
recordType(String recordType) |
The type of the resource record set that you submitted a request for.
|
TestDNSAnswerResponse.Builder |
recordType(RRType recordType) |
The type of the resource record set that you submitted a request for.
|
TestDNSAnswerResponse.Builder |
responseCode(String responseCode) |
A code that indicates whether the request is valid or not.
|
copy
apply, build
TestDNSAnswerResponse.Builder nameserver(String nameserver)
The Amazon Route 53 name server used to respond to the request.
nameserver
- The Amazon Route 53 name server used to respond to the request.TestDNSAnswerResponse.Builder recordName(String recordName)
The name of the resource record set that you submitted a request for.
recordName
- The name of the resource record set that you submitted a request for.TestDNSAnswerResponse.Builder recordType(String recordType)
The type of the resource record set that you submitted a request for.
recordType
- The type of the resource record set that you submitted a request for.RRType
TestDNSAnswerResponse.Builder recordType(RRType recordType)
The type of the resource record set that you submitted a request for.
recordType
- The type of the resource record set that you submitted a request for.RRType
TestDNSAnswerResponse.Builder recordData(Collection<String> recordData)
A list that contains values that Amazon Route 53 returned for this resource record set.
recordData
- A list that contains values that Amazon Route 53 returned for this resource record set.TestDNSAnswerResponse.Builder recordData(String... recordData)
A list that contains values that Amazon Route 53 returned for this resource record set.
NOTE: This method appends the values to the existing list (if any). Use
#setRecordData(java.util.Collection)
or #withRecordData(java.util.Collection)
if you want to
override the existing values.
recordData
- A list that contains values that Amazon Route 53 returned for this resource record set.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.
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.TestDNSAnswerResponse.Builder protocol(String protocol)
The protocol that Amazon Route 53 used to respond to the request, either UDP
or TCP
.
protocol
- The protocol that Amazon Route 53 used to respond to the request, either UDP
or
TCP
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.