@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListHostedZonesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
To retrieve a list of your public and private hosted zones, send a GET
request to the
/2013-04-01/hostedzone
resource. The response to this request includes a HostedZone child element for
each hosted zone that was created by the current AWS account.
Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot of hosted zones, you can use the maxitems parameter to list them in groups of up to 100. The response includes four values that help you navigate from one group of maxitems hosted zones to the next:
MaxItems
is the value that you specified for the maxitems
parameter in the request that
produced the current response.
If the value of IsTruncated
in the response is true
, there are more hosted zones associated
with the current AWS account.
If IsTruncated
is false
, this response includes the last hosted zone that is associated
with the current account.
NextMarker
is the hosted zone ID of the next hosted zone that is associated with the current AWS
account. If you want to list more hosted zones, make another call to ListHostedZones
, and specify the
value of the NextMarker
element in the marker parameter.
If IsTruncated
is false
, the NextMarker
element is omitted from the response.
If you're making the second or subsequent call to ListHostedZones
, the Marker
element
matches the value that you specified in the marker
parameter in the previous request.
NOOP
Constructor and Description |
---|
ListHostedZonesRequest() |
Modifier and Type | Method and Description |
---|---|
ListHostedZonesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDelegationSetId()
If you're using reusable delegation sets and you want to list all of the hosted zones that are associated with a
reusable delegation set, specify the ID of that reusable delegation set.
|
String |
getMarker()
(Optional) If you have more hosted zones than the value of
maxitems , ListHostedZones
returns only the first maxitems hosted zones. |
String |
getMaxItems()
(Optional) The maximum number of hosted zones to be included in the response body for this request.
|
int |
hashCode() |
void |
setDelegationSetId(String delegationSetId)
If you're using reusable delegation sets and you want to list all of the hosted zones that are associated with a
reusable delegation set, specify the ID of that reusable delegation set.
|
void |
setMarker(String marker)
(Optional) If you have more hosted zones than the value of
maxitems , ListHostedZones
returns only the first maxitems hosted zones. |
void |
setMaxItems(String maxItems)
(Optional) The maximum number of hosted zones to be included in the response body for this request.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListHostedZonesRequest |
withDelegationSetId(String delegationSetId)
If you're using reusable delegation sets and you want to list all of the hosted zones that are associated with a
reusable delegation set, specify the ID of that reusable delegation set.
|
ListHostedZonesRequest |
withMarker(String marker)
(Optional) If you have more hosted zones than the value of
maxitems , ListHostedZones
returns only the first maxitems hosted zones. |
ListHostedZonesRequest |
withMaxItems(String maxItems)
(Optional) The maximum number of hosted zones to be included in the response body for this request.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setMarker(String marker)
(Optional) If you have more hosted zones than the value of maxitems
, ListHostedZones
returns only the first maxitems
hosted zones. To get the next group of maxitems
hosted
zones, submit another request to ListHostedZones
. For the value of marker, specify the value of the
NextMarker
element that was returned in the previous response.
Hosted zones are listed in the order in which they were created.
marker
- (Optional) If you have more hosted zones than the value of maxitems
,
ListHostedZones
returns only the first maxitems
hosted zones. To get the next
group of maxitems
hosted zones, submit another request to ListHostedZones
. For
the value of marker, specify the value of the NextMarker
element that was returned in the
previous response.
Hosted zones are listed in the order in which they were created.
public String getMarker()
(Optional) If you have more hosted zones than the value of maxitems
, ListHostedZones
returns only the first maxitems
hosted zones. To get the next group of maxitems
hosted
zones, submit another request to ListHostedZones
. For the value of marker, specify the value of the
NextMarker
element that was returned in the previous response.
Hosted zones are listed in the order in which they were created.
maxitems
,
ListHostedZones
returns only the first maxitems
hosted zones. To get the next
group of maxitems
hosted zones, submit another request to ListHostedZones
. For
the value of marker, specify the value of the NextMarker
element that was returned in the
previous response.
Hosted zones are listed in the order in which they were created.
public ListHostedZonesRequest withMarker(String marker)
(Optional) If you have more hosted zones than the value of maxitems
, ListHostedZones
returns only the first maxitems
hosted zones. To get the next group of maxitems
hosted
zones, submit another request to ListHostedZones
. For the value of marker, specify the value of the
NextMarker
element that was returned in the previous response.
Hosted zones are listed in the order in which they were created.
marker
- (Optional) If you have more hosted zones than the value of maxitems
,
ListHostedZones
returns only the first maxitems
hosted zones. To get the next
group of maxitems
hosted zones, submit another request to ListHostedZones
. For
the value of marker, specify the value of the NextMarker
element that was returned in the
previous response.
Hosted zones are listed in the order in which they were created.
public void setMaxItems(String maxItems)
(Optional) The maximum number of hosted zones to be included in the response body for this request. If you have
more than maxitems
hosted zones, the value of the IsTruncated
element in the response
is true
, and the value of the NextMarker
element is the hosted zone ID of the first
hosted zone in the next group of maxitems
hosted zones.
maxItems
- (Optional) The maximum number of hosted zones to be included in the response body for this request. If you
have more than maxitems
hosted zones, the value of the IsTruncated
element in
the response is true
, and the value of the NextMarker
element is the hosted zone
ID of the first hosted zone in the next group of maxitems
hosted zones.public String getMaxItems()
(Optional) The maximum number of hosted zones to be included in the response body for this request. If you have
more than maxitems
hosted zones, the value of the IsTruncated
element in the response
is true
, and the value of the NextMarker
element is the hosted zone ID of the first
hosted zone in the next group of maxitems
hosted zones.
maxitems
hosted zones, the value of the IsTruncated
element
in the response is true
, and the value of the NextMarker
element is the hosted
zone ID of the first hosted zone in the next group of maxitems
hosted zones.public ListHostedZonesRequest withMaxItems(String maxItems)
(Optional) The maximum number of hosted zones to be included in the response body for this request. If you have
more than maxitems
hosted zones, the value of the IsTruncated
element in the response
is true
, and the value of the NextMarker
element is the hosted zone ID of the first
hosted zone in the next group of maxitems
hosted zones.
maxItems
- (Optional) The maximum number of hosted zones to be included in the response body for this request. If you
have more than maxitems
hosted zones, the value of the IsTruncated
element in
the response is true
, and the value of the NextMarker
element is the hosted zone
ID of the first hosted zone in the next group of maxitems
hosted zones.public void setDelegationSetId(String delegationSetId)
If you're using reusable delegation sets and you want to list all of the hosted zones that are associated with a reusable delegation set, specify the ID of that reusable delegation set.
delegationSetId
- If you're using reusable delegation sets and you want to list all of the hosted zones that are associated
with a reusable delegation set, specify the ID of that reusable delegation set.public String getDelegationSetId()
If you're using reusable delegation sets and you want to list all of the hosted zones that are associated with a reusable delegation set, specify the ID of that reusable delegation set.
public ListHostedZonesRequest withDelegationSetId(String delegationSetId)
If you're using reusable delegation sets and you want to list all of the hosted zones that are associated with a reusable delegation set, specify the ID of that reusable delegation set.
delegationSetId
- If you're using reusable delegation sets and you want to list all of the hosted zones that are associated
with a reusable delegation set, specify the ID of that reusable delegation set.public String toString()
toString
in class Object
Object.toString()
public ListHostedZonesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.