public class TestDNSAnswerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Gets the value that Amazon Route 53 returns in response to a DNS request for a specified record name and type. You can optionally specify the IP address of a DNS resolver, an EDNS0 client subnet IP address, and a subnet mask.
Parameters
The ID of the hosted zone that you want Amazon Route 53 to simulate a query for.
The name of the resource record set that you want Amazon Route 53 to simulate a query for.
The type of the resource record set.
If you want to simulate a request from a specific DNS resolver, specify the IP address for that resolver. If you omit
this value, TestDNSAnswer
uses the IP address of a DNS resolver in the AWS US East region.
If the resolver that you specified for resolverip
supports EDNS0, specify the IP address of a client in
the applicable location.
If you specify an IP address for edns0clientsubnetip
, you can optionally specify the number of bits of
the IP address that you want the checking tool to include in the DNS query. For example, if you specify
192.0.2.44
for edns0clientsubnetip
and 24
for
edns0clientsubnetmask
, the checking tool will simulate a request from 192.0.2.0/24
. The
default value is 24 bits.
NOOP
Constructor and Description |
---|
TestDNSAnswerRequest() |
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setHostedZoneId(String hostedZoneId)
hostedZoneId
- public String getHostedZoneId()
public TestDNSAnswerRequest withHostedZoneId(String hostedZoneId)
hostedZoneId
- public void setRecordName(String recordName)
recordName
- public String getRecordName()
public TestDNSAnswerRequest withRecordName(String recordName)
recordName
- public void setRecordType(String recordType)
recordType
- RRType
public TestDNSAnswerRequest withRecordType(String recordType)
recordType
- RRType
public void setRecordType(RRType recordType)
recordType
- RRType
public TestDNSAnswerRequest withRecordType(RRType recordType)
recordType
- RRType
public void setResolverIP(String resolverIP)
resolverIP
- public String getResolverIP()
public TestDNSAnswerRequest withResolverIP(String resolverIP)
resolverIP
- public void setEDNS0ClientSubnetIP(String eDNS0ClientSubnetIP)
eDNS0ClientSubnetIP
- public String getEDNS0ClientSubnetIP()
public TestDNSAnswerRequest withEDNS0ClientSubnetIP(String eDNS0ClientSubnetIP)
eDNS0ClientSubnetIP
- public void setEDNS0ClientSubnetMask(String eDNS0ClientSubnetMask)
eDNS0ClientSubnetMask
- public String getEDNS0ClientSubnetMask()
public TestDNSAnswerRequest withEDNS0ClientSubnetMask(String eDNS0ClientSubnetMask)
eDNS0ClientSubnetMask
- public String toString()
toString
in class Object
Object.toString()
public TestDNSAnswerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.