public class ListHostedZonesByNameRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ListHostedZonesByName operation.
To retrieve a list of your hosted zones in lexicographic order, send
a GET request to the
2013-04-01/hostedzonesbyname resource. The response to
this request includes a HostedZones element with zero or
more HostedZone child elements lexicographically ordered
by DNS name. By default, the list of hosted zones is displayed on a
single page. You can control the length of the page that is displayed
by using the MaxItems parameter. You can use the
DNSName and HostedZoneId parameters to
control the hosted zone that the list begins with.
NOTE: Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to a value greater than 100, Amazon Route 53 returns only the first 100.
NOOP| Constructor and Description |
|---|
ListHostedZonesByNameRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListHostedZonesByNameRequest |
clone() |
boolean |
equals(Object obj) |
String |
getDNSName()
The first name in the lexicographic ordering of domain names that you
want the
ListHostedZonesByNameRequest request to list. |
String |
getHostedZoneId()
If the request returned more than one page of results, submit another
request and specify the value of
NextDNSName and
NextHostedZoneId from the last response in the
DNSName and HostedZoneId parameters to get
the next page of results. |
String |
getMaxItems()
Specify the maximum number of hosted zones to return per page of
results.
|
int |
hashCode() |
void |
setDNSName(String dNSName)
The first name in the lexicographic ordering of domain names that you
want the
ListHostedZonesByNameRequest request to list. |
void |
setHostedZoneId(String hostedZoneId)
If the request returned more than one page of results, submit another
request and specify the value of
NextDNSName and
NextHostedZoneId from the last response in the
DNSName and HostedZoneId parameters to get
the next page of results. |
void |
setMaxItems(String maxItems)
Specify the maximum number of hosted zones to return per page of
results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListHostedZonesByNameRequest |
withDNSName(String dNSName)
The first name in the lexicographic ordering of domain names that you
want the
ListHostedZonesByNameRequest request to list. |
ListHostedZonesByNameRequest |
withHostedZoneId(String hostedZoneId)
If the request returned more than one page of results, submit another
request and specify the value of
NextDNSName and
NextHostedZoneId from the last response in the
DNSName and HostedZoneId parameters to get
the next page of results. |
ListHostedZonesByNameRequest |
withMaxItems(String maxItems)
Specify the maximum number of hosted zones to return per page of
results.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic String getDNSName()
ListHostedZonesByNameRequest request to list.
If the request returned more than one page of results, submit
another request and specify the value of NextDNSName and
NextHostedZoneId from the last response in the
DNSName and HostedZoneId parameters to get
the next page of results.
Constraints:
Length: 0 - 1024
ListHostedZonesByNameRequest request to list.
If the request returned more than one page of results, submit
another request and specify the value of NextDNSName and
NextHostedZoneId from the last response in the
DNSName and HostedZoneId parameters to get
the next page of results.
public void setDNSName(String dNSName)
ListHostedZonesByNameRequest request to list.
If the request returned more than one page of results, submit
another request and specify the value of NextDNSName and
NextHostedZoneId from the last response in the
DNSName and HostedZoneId parameters to get
the next page of results.
Constraints:
Length: 0 - 1024
dNSName - The first name in the lexicographic ordering of domain names that you
want the ListHostedZonesByNameRequest request to list.
If the request returned more than one page of results, submit
another request and specify the value of NextDNSName and
NextHostedZoneId from the last response in the
DNSName and HostedZoneId parameters to get
the next page of results.
public ListHostedZonesByNameRequest withDNSName(String dNSName)
ListHostedZonesByNameRequest request to list.
If the request returned more than one page of results, submit
another request and specify the value of NextDNSName and
NextHostedZoneId from the last response in the
DNSName and HostedZoneId parameters to get
the next page of results.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
dNSName - The first name in the lexicographic ordering of domain names that you
want the ListHostedZonesByNameRequest request to list.
If the request returned more than one page of results, submit
another request and specify the value of NextDNSName and
NextHostedZoneId from the last response in the
DNSName and HostedZoneId parameters to get
the next page of results.
public String getHostedZoneId()
NextDNSName and
NextHostedZoneId from the last response in the
DNSName and HostedZoneId parameters to get
the next page of results.
Constraints:
Length: 0 - 32
NextDNSName and
NextHostedZoneId from the last response in the
DNSName and HostedZoneId parameters to get
the next page of results.public void setHostedZoneId(String hostedZoneId)
NextDNSName and
NextHostedZoneId from the last response in the
DNSName and HostedZoneId parameters to get
the next page of results.
Constraints:
Length: 0 - 32
hostedZoneId - If the request returned more than one page of results, submit another
request and specify the value of NextDNSName and
NextHostedZoneId from the last response in the
DNSName and HostedZoneId parameters to get
the next page of results.public ListHostedZonesByNameRequest withHostedZoneId(String hostedZoneId)
NextDNSName and
NextHostedZoneId from the last response in the
DNSName and HostedZoneId parameters to get
the next page of results.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32
hostedZoneId - If the request returned more than one page of results, submit another
request and specify the value of NextDNSName and
NextHostedZoneId from the last response in the
DNSName and HostedZoneId parameters to get
the next page of results.public String getMaxItems()
public void setMaxItems(String maxItems)
maxItems - Specify the maximum number of hosted zones to return per page of
results.public ListHostedZonesByNameRequest withMaxItems(String maxItems)
Returns a reference to this object so that method calls can be chained together.
maxItems - Specify the maximum number of hosted zones to return per page of
results.public String toString()
toString in class ObjectObject.toString()public ListHostedZonesByNameRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.