Class ListHostedZonesResult
- java.lang.Object
-
- com.amazonaws.services.route53.model.ListHostedZonesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListHostedZonesResult extends Object implements Serializable, Cloneable
A complex type that contains the response for the request.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListHostedZonesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListHostedZonesResult
clone()
boolean
equals(Object obj)
List<HostedZone>
getHostedZones()
A complex type that contains information about the hosted zones associated with the current AWS account.Boolean
getIsTruncated()
A flag indicating whether there are more hosted zones to be listed.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()
The maximum number of hosted zones to be included in the response body.String
getNextMarker()
Indicates where to continue listing hosted zones.int
hashCode()
Boolean
isTruncated()
A flag indicating whether there are more hosted zones to be listed.void
setHostedZones(Collection<HostedZone> hostedZones)
A complex type that contains information about the hosted zones associated with the current AWS account.void
setIsTruncated(Boolean isTruncated)
A flag indicating whether there are more hosted zones to be listed.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)
The maximum number of hosted zones to be included in the response body.void
setNextMarker(String nextMarker)
Indicates where to continue listing hosted zones.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListHostedZonesResult
withHostedZones(HostedZone... hostedZones)
A complex type that contains information about the hosted zones associated with the current AWS account.ListHostedZonesResult
withHostedZones(Collection<HostedZone> hostedZones)
A complex type that contains information about the hosted zones associated with the current AWS account.ListHostedZonesResult
withIsTruncated(Boolean isTruncated)
A flag indicating whether there are more hosted zones to be listed.ListHostedZonesResult
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.ListHostedZonesResult
withMaxItems(String maxItems)
The maximum number of hosted zones to be included in the response body.ListHostedZonesResult
withNextMarker(String nextMarker)
Indicates where to continue listing hosted zones.
-
-
-
Method Detail
-
getHostedZones
public List<HostedZone> getHostedZones()
A complex type that contains information about the hosted zones associated with the current AWS account.
- Returns:
- A complex type that contains information about the hosted zones associated with the current AWS account.
-
setHostedZones
public void setHostedZones(Collection<HostedZone> hostedZones)
A complex type that contains information about the hosted zones associated with the current AWS account.
- Parameters:
hostedZones
- A complex type that contains information about the hosted zones associated with the current AWS account.
-
withHostedZones
public ListHostedZonesResult withHostedZones(HostedZone... hostedZones)
A complex type that contains information about the hosted zones associated with the current AWS account.
NOTE: This method appends the values to the existing list (if any). Use
setHostedZones(java.util.Collection)
orwithHostedZones(java.util.Collection)
if you want to override the existing values.- Parameters:
hostedZones
- A complex type that contains information about the hosted zones associated with the current AWS account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withHostedZones
public ListHostedZonesResult withHostedZones(Collection<HostedZone> hostedZones)
A complex type that contains information about the hosted zones associated with the current AWS account.
- Parameters:
hostedZones
- A complex type that contains information about the hosted zones associated with the current AWS account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 ListHostedZonesResult 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.
-
setIsTruncated
public void setIsTruncated(Boolean isTruncated)
A flag indicating whether there are more hosted zones to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the
Marker
element.Valid Values:
true
|false
- Parameters:
isTruncated
- A flag indicating whether there are more hosted zones to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using theMarker
element.Valid Values:
true
|false
-
getIsTruncated
public Boolean getIsTruncated()
A flag indicating whether there are more hosted zones to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the
Marker
element.Valid Values:
true
|false
- Returns:
- A flag indicating whether there are more hosted zones to be
listed. If your results were truncated, you can make a follow-up
request for the next page of results by using the
Marker
element.Valid Values:
true
|false
-
withIsTruncated
public ListHostedZonesResult withIsTruncated(Boolean isTruncated)
A flag indicating whether there are more hosted zones to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the
Marker
element.Valid Values:
true
|false
- Parameters:
isTruncated
- A flag indicating whether there are more hosted zones to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using theMarker
element.Valid Values:
true
|false
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isTruncated
public Boolean isTruncated()
A flag indicating whether there are more hosted zones to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the
Marker
element.Valid Values:
true
|false
- Returns:
- A flag indicating whether there are more hosted zones to be
listed. If your results were truncated, you can make a follow-up
request for the next page of results by using the
Marker
element.Valid Values:
true
|false
-
setNextMarker
public void setNextMarker(String nextMarker)
Indicates where to continue listing hosted zones. If ListHostedZonesResponse$IsTruncated is
true
, make another request toListHostedZones
and include the value of theNextMarker
element in theMarker
element to get the next page of results.- Parameters:
nextMarker
- Indicates where to continue listing hosted zones. If ListHostedZonesResponse$IsTruncated istrue
, make another request toListHostedZones
and include the value of theNextMarker
element in theMarker
element to get the next page of results.
-
getNextMarker
public String getNextMarker()
Indicates where to continue listing hosted zones. If ListHostedZonesResponse$IsTruncated is
true
, make another request toListHostedZones
and include the value of theNextMarker
element in theMarker
element to get the next page of results.- Returns:
- Indicates where to continue listing hosted zones. If
ListHostedZonesResponse$IsTruncated is
true
, make another request toListHostedZones
and include the value of theNextMarker
element in theMarker
element to get the next page of results.
-
withNextMarker
public ListHostedZonesResult withNextMarker(String nextMarker)
Indicates where to continue listing hosted zones. If ListHostedZonesResponse$IsTruncated is
true
, make another request toListHostedZones
and include the value of theNextMarker
element in theMarker
element to get the next page of results.- Parameters:
nextMarker
- Indicates where to continue listing hosted zones. If ListHostedZonesResponse$IsTruncated istrue
, make another request toListHostedZones
and include the value of theNextMarker
element in theMarker
element 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)
The maximum number of hosted zones to be included in the response body. If the number of hosted zones associated with this AWS account exceeds
MaxItems
, the value of ListHostedZonesResponse$IsTruncated in the response istrue
. CallListHostedZones
again and specify the value of ListHostedZonesResponse$NextMarker in the ListHostedZonesRequest$Marker element to get the next page of results.- Parameters:
maxItems
- The maximum number of hosted zones to be included in the response body. If the number of hosted zones associated with this AWS account exceedsMaxItems
, the value of ListHostedZonesResponse$IsTruncated in the response istrue
. CallListHostedZones
again and specify the value of ListHostedZonesResponse$NextMarker in the ListHostedZonesRequest$Marker element to get the next page of results.
-
getMaxItems
public String getMaxItems()
The maximum number of hosted zones to be included in the response body. If the number of hosted zones associated with this AWS account exceeds
MaxItems
, the value of ListHostedZonesResponse$IsTruncated in the response istrue
. CallListHostedZones
again and specify the value of ListHostedZonesResponse$NextMarker in the ListHostedZonesRequest$Marker element to get the next page of results.- Returns:
- The maximum number of hosted zones to be included in the response
body. If the number of hosted zones associated with this AWS
account exceeds
MaxItems
, the value of ListHostedZonesResponse$IsTruncated in the response istrue
. CallListHostedZones
again and specify the value of ListHostedZonesResponse$NextMarker in the ListHostedZonesRequest$Marker element to get the next page of results.
-
withMaxItems
public ListHostedZonesResult withMaxItems(String maxItems)
The maximum number of hosted zones to be included in the response body. If the number of hosted zones associated with this AWS account exceeds
MaxItems
, the value of ListHostedZonesResponse$IsTruncated in the response istrue
. CallListHostedZones
again and specify the value of ListHostedZonesResponse$NextMarker in the ListHostedZonesRequest$Marker element to get the next page of results.- Parameters:
maxItems
- The maximum number of hosted zones to be included in the response body. If the number of hosted zones associated with this AWS account exceedsMaxItems
, the value of ListHostedZonesResponse$IsTruncated in the response istrue
. CallListHostedZones
again and specify the value of ListHostedZonesResponse$NextMarker in the ListHostedZonesRequest$Marker element to get the next page of results.- 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 ListHostedZonesResult clone()
-
-