@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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.
NOOP
Constructor and Description |
---|
TestDNSAnswerRequest() |
Modifier and Type | Method and Description |
---|---|
TestDNSAnswerRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEDNS0ClientSubnetIP()
If the resolver that you specified for resolverip supports EDNS0, specify the IPv4 or IPv6 address of a client in
the applicable location, for example,
192.0.2.44 or 2001:db8:85a3::8a2e:370:7334 . |
String |
getEDNS0ClientSubnetMask()
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. |
String |
getHostedZoneId()
The ID of the hosted zone that you want Amazon Route 53 to simulate a query for.
|
String |
getRecordName()
The name of the resource record set that you want Amazon Route 53 to simulate a query for.
|
String |
getRecordType()
The type of the resource record set.
|
String |
getResolverIP()
If you want to simulate a request from a specific DNS resolver, specify the IP address for that resolver.
|
int |
hashCode() |
void |
setEDNS0ClientSubnetIP(String eDNS0ClientSubnetIP)
If the resolver that you specified for resolverip supports EDNS0, specify the IPv4 or IPv6 address of a client in
the applicable location, for example,
192.0.2.44 or 2001:db8:85a3::8a2e:370:7334 . |
void |
setEDNS0ClientSubnetMask(String eDNS0ClientSubnetMask)
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. |
void |
setHostedZoneId(String hostedZoneId)
The ID of the hosted zone that you want Amazon Route 53 to simulate a query for.
|
void |
setRecordName(String recordName)
The name of the resource record set that you want Amazon Route 53 to simulate a query for.
|
void |
setRecordType(RRType recordType)
The type of the resource record set.
|
void |
setRecordType(String recordType)
The type of the resource record set.
|
void |
setResolverIP(String resolverIP)
If you want to simulate a request from a specific DNS resolver, specify the IP address for that resolver.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TestDNSAnswerRequest |
withEDNS0ClientSubnetIP(String eDNS0ClientSubnetIP)
If the resolver that you specified for resolverip supports EDNS0, specify the IPv4 or IPv6 address of a client in
the applicable location, for example,
192.0.2.44 or 2001:db8:85a3::8a2e:370:7334 . |
TestDNSAnswerRequest |
withEDNS0ClientSubnetMask(String eDNS0ClientSubnetMask)
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. |
TestDNSAnswerRequest |
withHostedZoneId(String hostedZoneId)
The ID of the hosted zone that you want Amazon Route 53 to simulate a query for.
|
TestDNSAnswerRequest |
withRecordName(String recordName)
The name of the resource record set that you want Amazon Route 53 to simulate a query for.
|
TestDNSAnswerRequest |
withRecordType(RRType recordType)
The type of the resource record set.
|
TestDNSAnswerRequest |
withRecordType(String recordType)
The type of the resource record set.
|
TestDNSAnswerRequest |
withResolverIP(String resolverIP)
If you want to simulate a request from a specific DNS resolver, specify the IP address for that resolver.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setHostedZoneId(String hostedZoneId)
The ID of the hosted zone that you want Amazon Route 53 to simulate a query for.
hostedZoneId
- The ID of the hosted zone that you want Amazon Route 53 to simulate a query for.public String getHostedZoneId()
The ID of the hosted zone that you want Amazon Route 53 to simulate a query for.
public TestDNSAnswerRequest withHostedZoneId(String hostedZoneId)
The ID of the hosted zone that you want Amazon Route 53 to simulate a query for.
hostedZoneId
- The ID of the hosted zone that you want Amazon Route 53 to simulate a query for.public void setRecordName(String recordName)
The name of the resource record set that you want Amazon Route 53 to simulate a query for.
recordName
- The name of the resource record set that you want Amazon Route 53 to simulate a query for.public String getRecordName()
The name of the resource record set that you want Amazon Route 53 to simulate a query for.
public TestDNSAnswerRequest withRecordName(String recordName)
The name of the resource record set that you want Amazon Route 53 to simulate a query for.
recordName
- The name of the resource record set that you want Amazon Route 53 to simulate a query for.public void setRecordType(String recordType)
The type of the resource record set.
recordType
- The type of the resource record set.RRType
public String getRecordType()
The type of the resource record set.
RRType
public TestDNSAnswerRequest withRecordType(String recordType)
The type of the resource record set.
recordType
- The type of the resource record set.RRType
public void setRecordType(RRType recordType)
The type of the resource record set.
recordType
- The type of the resource record set.RRType
public TestDNSAnswerRequest withRecordType(RRType recordType)
The type of the resource record set.
recordType
- The type of the resource record set.RRType
public void setResolverIP(String resolverIP)
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 (N.
Virginia) Region (us-east-1
).
resolverIP
- 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 (N. Virginia) Region (us-east-1
).public String getResolverIP()
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 (N.
Virginia) Region (us-east-1
).
TestDnsAnswer
uses the IP address of a DNS resolver in the AWS US
East (N. Virginia) Region (us-east-1
).public TestDNSAnswerRequest withResolverIP(String resolverIP)
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 (N.
Virginia) Region (us-east-1
).
resolverIP
- 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 (N. Virginia) Region (us-east-1
).public void setEDNS0ClientSubnetIP(String eDNS0ClientSubnetIP)
If the resolver that you specified for resolverip supports EDNS0, specify the IPv4 or IPv6 address of a client in
the applicable location, for example, 192.0.2.44
or 2001:db8:85a3::8a2e:370:7334
.
eDNS0ClientSubnetIP
- If the resolver that you specified for resolverip supports EDNS0, specify the IPv4 or IPv6 address of a
client in the applicable location, for example, 192.0.2.44
or
2001:db8:85a3::8a2e:370:7334
.public String getEDNS0ClientSubnetIP()
If the resolver that you specified for resolverip supports EDNS0, specify the IPv4 or IPv6 address of a client in
the applicable location, for example, 192.0.2.44
or 2001:db8:85a3::8a2e:370:7334
.
192.0.2.44
or
2001:db8:85a3::8a2e:370:7334
.public TestDNSAnswerRequest withEDNS0ClientSubnetIP(String eDNS0ClientSubnetIP)
If the resolver that you specified for resolverip supports EDNS0, specify the IPv4 or IPv6 address of a client in
the applicable location, for example, 192.0.2.44
or 2001:db8:85a3::8a2e:370:7334
.
eDNS0ClientSubnetIP
- If the resolver that you specified for resolverip supports EDNS0, specify the IPv4 or IPv6 address of a
client in the applicable location, for example, 192.0.2.44
or
2001:db8:85a3::8a2e:370:7334
.public void setEDNS0ClientSubnetMask(String eDNS0ClientSubnetMask)
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 for IPv4 addresses and 64 bits for IPv6 addresses.
eDNS0ClientSubnetMask
- 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 for IPv4 addresses and 64 bits for IPv6 addresses.public String getEDNS0ClientSubnetMask()
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 for IPv4 addresses and 64 bits for IPv6 addresses.
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 for IPv4 addresses and 64 bits for IPv6 addresses.public TestDNSAnswerRequest withEDNS0ClientSubnetMask(String eDNS0ClientSubnetMask)
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 for IPv4 addresses and 64 bits for IPv6 addresses.
eDNS0ClientSubnetMask
- 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 for IPv4 addresses and 64 bits for IPv6 addresses.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.