@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TestDNSAnswerResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A complex type that contains the response to a TestDNSAnswer
request.
Constructor and Description |
---|
TestDNSAnswerResult() |
Modifier and Type | Method and Description |
---|---|
TestDNSAnswerResult |
clone() |
boolean |
equals(Object obj) |
String |
getNameserver()
The Amazon Route 53 name server used to respond to the request.
|
String |
getProtocol()
The protocol that Amazon Route 53 used to respond to the request, either
UDP or TCP . |
List<String> |
getRecordData()
A list that contains values that Amazon Route 53 returned for this resource record set.
|
String |
getRecordName()
The name of the resource record set that you submitted a request for.
|
String |
getRecordType()
The type of the resource record set that you submitted a request for.
|
String |
getResponseCode()
A code that indicates whether the request is valid or not.
|
int |
hashCode() |
void |
setNameserver(String nameserver)
The Amazon Route 53 name server used to respond to the request.
|
void |
setProtocol(String protocol)
The protocol that Amazon Route 53 used to respond to the request, either
UDP or TCP . |
void |
setRecordData(Collection<String> recordData)
A list that contains values that Amazon Route 53 returned for this resource record set.
|
void |
setRecordName(String recordName)
The name of the resource record set that you submitted a request for.
|
void |
setRecordType(RRType recordType)
The type of the resource record set that you submitted a request for.
|
void |
setRecordType(String recordType)
The type of the resource record set that you submitted a request for.
|
void |
setResponseCode(String responseCode)
A code that indicates whether the request is valid or not.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TestDNSAnswerResult |
withNameserver(String nameserver)
The Amazon Route 53 name server used to respond to the request.
|
TestDNSAnswerResult |
withProtocol(String protocol)
The protocol that Amazon Route 53 used to respond to the request, either
UDP or TCP . |
TestDNSAnswerResult |
withRecordData(Collection<String> recordData)
A list that contains values that Amazon Route 53 returned for this resource record set.
|
TestDNSAnswerResult |
withRecordData(String... recordData)
A list that contains values that Amazon Route 53 returned for this resource record set.
|
TestDNSAnswerResult |
withRecordName(String recordName)
The name of the resource record set that you submitted a request for.
|
TestDNSAnswerResult |
withRecordType(RRType recordType)
The type of the resource record set that you submitted a request for.
|
TestDNSAnswerResult |
withRecordType(String recordType)
The type of the resource record set that you submitted a request for.
|
TestDNSAnswerResult |
withResponseCode(String responseCode)
A code that indicates whether the request is valid or not.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNameserver(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.public String getNameserver()
The Amazon Route 53 name server used to respond to the request.
public TestDNSAnswerResult withNameserver(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.public void setRecordName(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.public String getRecordName()
The name of the resource record set that you submitted a request for.
public TestDNSAnswerResult withRecordName(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.public void setRecordType(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
public String getRecordType()
The type of the resource record set that you submitted a request for.
RRType
public TestDNSAnswerResult withRecordType(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
public void setRecordType(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
public TestDNSAnswerResult withRecordType(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
public List<String> getRecordData()
A list that contains values that Amazon Route 53 returned for this resource record set.
public void setRecordData(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.public TestDNSAnswerResult withRecordData(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.public TestDNSAnswerResult withRecordData(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.public void setResponseCode(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.public String getResponseCode()
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.
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.public TestDNSAnswerResult withResponseCode(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.public void setProtocol(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
.public String getProtocol()
The protocol that Amazon Route 53 used to respond to the request, either UDP
or TCP
.
UDP
or
TCP
.public TestDNSAnswerResult withProtocol(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
.public String toString()
toString
in class Object
Object.toString()
public TestDNSAnswerResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.