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 ListHostedZonesResultclone()booleanequals(Object obj)List<HostedZone>getHostedZones()A complex type that contains information about the hosted zones associated with the current AWS account.BooleangetIsTruncated()A flag indicating whether there are more hosted zones to be listed.StringgetMarker()If the request returned more than one page of results, submit another request and specify the value ofNextMarkerfrom the last response in themarkerparameter to get the next page of results.StringgetMaxItems()The maximum number of hosted zones to be included in the response body.StringgetNextMarker()Indicates where to continue listing hosted zones.inthashCode()BooleanisTruncated()A flag indicating whether there are more hosted zones to be listed.voidsetHostedZones(Collection<HostedZone> hostedZones)A complex type that contains information about the hosted zones associated with the current AWS account.voidsetIsTruncated(Boolean isTruncated)A flag indicating whether there are more hosted zones to be listed.voidsetMarker(String marker)If the request returned more than one page of results, submit another request and specify the value ofNextMarkerfrom the last response in themarkerparameter to get the next page of results.voidsetMaxItems(String maxItems)The maximum number of hosted zones to be included in the response body.voidsetNextMarker(String nextMarker)Indicates where to continue listing hosted zones.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListHostedZonesResultwithHostedZones(HostedZone... hostedZones)A complex type that contains information about the hosted zones associated with the current AWS account.ListHostedZonesResultwithHostedZones(Collection<HostedZone> hostedZones)A complex type that contains information about the hosted zones associated with the current AWS account.ListHostedZonesResultwithIsTruncated(Boolean isTruncated)A flag indicating whether there are more hosted zones to be listed.ListHostedZonesResultwithMarker(String marker)If the request returned more than one page of results, submit another request and specify the value ofNextMarkerfrom the last response in themarkerparameter to get the next page of results.ListHostedZonesResultwithMaxItems(String maxItems)The maximum number of hosted zones to be included in the response body.ListHostedZonesResultwithNextMarker(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
NextMarkerfrom the last response in themarkerparameter 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 ofNextMarkerfrom the last response in themarkerparameter 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
NextMarkerfrom the last response in themarkerparameter 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
NextMarkerfrom the last response in themarkerparameter 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
NextMarkerfrom the last response in themarkerparameter 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 ofNextMarkerfrom the last response in themarkerparameter 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
Markerelement.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 theMarkerelement.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
Markerelement.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
Markerelement.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
Markerelement.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 theMarkerelement.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
Markerelement.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
Markerelement.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 toListHostedZonesand include the value of theNextMarkerelement in theMarkerelement to get the next page of results.- Parameters:
nextMarker- Indicates where to continue listing hosted zones. If ListHostedZonesResponse$IsTruncated istrue, make another request toListHostedZonesand include the value of theNextMarkerelement in theMarkerelement 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 toListHostedZonesand include the value of theNextMarkerelement in theMarkerelement to get the next page of results.- Returns:
- Indicates where to continue listing hosted zones. If
ListHostedZonesResponse$IsTruncated is
true, make another request toListHostedZonesand include the value of theNextMarkerelement in theMarkerelement 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 toListHostedZonesand include the value of theNextMarkerelement in theMarkerelement to get the next page of results.- Parameters:
nextMarker- Indicates where to continue listing hosted zones. If ListHostedZonesResponse$IsTruncated istrue, make another request toListHostedZonesand include the value of theNextMarkerelement in theMarkerelement 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. CallListHostedZonesagain 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. CallListHostedZonesagain 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. CallListHostedZonesagain 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. CallListHostedZonesagain 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. CallListHostedZonesagain 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. CallListHostedZonesagain 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListHostedZonesResult clone()
-
-