public class ListHostedZonesRequest extends AmazonWebServiceRequest implements Serializable
ListHostedZones operation.
To retrieve a list of your hosted zones, send a GET request to the 2012-12-12/hostedzone resource. The response to this
request includes a HostedZones element with zero, one, or multiple HostedZone child elements. 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 Marker parameter 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.
| Constructor and Description |
|---|
ListHostedZonesRequest()
Default constructor for a new ListHostedZonesRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getMarker()
If the request returned more than one page of results, submit another
request and specify the value of
NextMarker from the last
response in the marker parameter 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 |
setMarker(String marker)
If the request returned more than one page of results, submit another
request and specify the value of
NextMarker from the last
response in the marker parameter 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.
|
ListHostedZonesRequest |
withMarker(String marker)
If the request returned more than one page of results, submit another
request and specify the value of
NextMarker from the last
response in the marker parameter to get the next page of
results. |
ListHostedZonesRequest |
withMaxItems(String maxItems)
Specify the maximum number of hosted zones to return per page of
results.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic ListHostedZonesRequest()
public String getMarker()
NextMarker from the last
response in the marker parameter to get the next page of
results.
Constraints:
Length: 0 - 64
NextMarker from the last
response in the marker parameter to get the next page of
results.public void setMarker(String marker)
NextMarker from the last
response in the marker parameter to get the next page of
results.
Constraints:
Length: 0 - 64
marker - If the request returned more than one page of results, submit another
request and specify the value of NextMarker from the last
response in the marker parameter to get the next page of
results.public ListHostedZonesRequest withMarker(String marker)
NextMarker from the last
response in the marker parameter to get the next page of
results.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 64
marker - If the request returned more than one page of results, submit another
request and specify the value of NextMarker from the last
response in the marker parameter 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 ListHostedZonesRequest 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()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.