Class ListHostedZonesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.route53.model.ListHostedZonesRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ListHostedZonesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
To retrieve a list of your hosted zones, send a
GET
request to the/Route 53 API version/hostedzone
resource. The response to this request includes aHostedZones
element with zero or moreHostedZone
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 theMaxItems
parameter. You can use theMarker
parameter to control the hosted zone that the list begins with. For more information about listing hosted zones, see Listing the Hosted Zones for an AWS Account in the Amazon Route 53 Developer Guide.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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListHostedZonesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListHostedZonesRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getDelegationSetId()
String
getMarker()
If the request returned more than one page of results, submit another request and specify the value ofNextMarker
from the last response in themarker
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
setDelegationSetId(String delegationSetId)
void
setMarker(String marker)
If the request returned more than one page of results, submit another request and specify the value ofNextMarker
from the last response in themarker
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
withDelegationSetId(String delegationSetId)
ListHostedZonesRequest
withMarker(String marker)
If the request returned more than one page of results, submit another request and specify the value ofNextMarker
from the last response in themarker
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
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
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 themarker
parameter to get the next page of results.- Parameters:
marker
- If the request returned more than one page of results, submit another request and specify the value ofNextMarker
from the last response in themarker
parameter to get the next page of results.
-
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 themarker
parameter to get the next page of results.- 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 themarker
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 themarker
parameter to get the next page of results.- Parameters:
marker
- If the request returned more than one page of results, submit another request and specify the value ofNextMarker
from the last response in themarker
parameter to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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.
-
withMaxItems
public ListHostedZonesRequest withMaxItems(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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDelegationSetId
public void setDelegationSetId(String delegationSetId)
- Parameters:
delegationSetId
-
-
getDelegationSetId
public String getDelegationSetId()
- Returns:
-
withDelegationSetId
public ListHostedZonesRequest withDelegationSetId(String delegationSetId)
- Parameters:
delegationSetId
-- Returns:
- Returns a reference to this 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListHostedZonesRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-