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:
  • Constructor Details

    • ListHostedZonesResult

      public ListHostedZonesResult()
  • Method Details

    • 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) or withHostedZones(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 the marker 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 of NextMarker from the last response in the marker 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 the marker 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 the marker 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 the marker 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 of NextMarker from the last response in the marker 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 the Marker 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 the Marker 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 to ListHostedZones and include the value of the NextMarker element in the Marker element to get the next page of results.

      Parameters:
      nextMarker - Indicates where to continue listing hosted zones. If ListHostedZonesResponse$IsTruncated is true, make another request to ListHostedZones and include the value of the NextMarker element in the Marker 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 to ListHostedZones and include the value of the NextMarker element in the Marker element to get the next page of results.

      Returns:
      Indicates where to continue listing hosted zones. If ListHostedZonesResponse$IsTruncated is true, make another request to ListHostedZones and include the value of the NextMarker element in the Marker 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 to ListHostedZones and include the value of the NextMarker element in the Marker element to get the next page of results.

      Parameters:
      nextMarker - Indicates where to continue listing hosted zones. If ListHostedZonesResponse$IsTruncated is true, make another request to ListHostedZones and include the value of the NextMarker element in the Marker 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 is true. Call ListHostedZones 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 exceeds MaxItems, the value of ListHostedZonesResponse$IsTruncated in the response is true. Call ListHostedZones 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 is true. Call ListHostedZones 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 is true. Call ListHostedZones 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 is true. Call ListHostedZones 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 exceeds MaxItems, the value of ListHostedZonesResponse$IsTruncated in the response is true. Call ListHostedZones 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ListHostedZonesResult clone()
      Overrides:
      clone in class Object