Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.route53.model
Class ListHostedZonesRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.route53.model.ListHostedZonesRequest
All Implemented Interfaces:
Serializable

public class ListHostedZonesRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the 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.

See Also:
AmazonRoute53.listHostedZones(ListHostedZonesRequest), Serialized Form

Constructor Summary
ListHostedZonesRequest()
          Default constructor for a new ListHostedZonesRequest object.
 
Method Summary
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListHostedZonesRequest

public ListHostedZonesRequest()
Default constructor for a new ListHostedZonesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getMarker

public 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.

Constraints:
Length: 0 - 64

Returns:
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.

setMarker

public 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.

Constraints:
Length: 0 - 64

Parameters:
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.

withMarker

public 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 64

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getMaxItems

public String getMaxItems()
Specify the maximum number of hosted zones to return per page of results.

Returns:
Specify the maximum number of hosted zones to return per page of results.

setMaxItems

public void setMaxItems(String maxItems)
Specify the maximum number of hosted zones to return per page of results.

Parameters:
maxItems - Specify the maximum number of hosted zones to return per page of results.

withMaxItems

public ListHostedZonesRequest withMaxItems(String maxItems)
Specify the maximum number of hosted zones to return per page of results.

Returns a reference to this object so that method calls can be chained together.

Parameters:
maxItems - Specify the maximum number of hosted zones to return per page of results.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.