Class ListGeoLocationsResult

java.lang.Object
com.amazonaws.services.route53.model.ListGeoLocationsResult
All Implemented Interfaces:
Serializable, Cloneable

public class ListGeoLocationsResult extends Object implements Serializable, Cloneable

A complex type that contains information about the geo locations that are returned by the request and information about the response.

See Also:
  • Constructor Details

    • ListGeoLocationsResult

      public ListGeoLocationsResult()
  • Method Details

    • getGeoLocationDetailsList

      public List<GeoLocationDetails> getGeoLocationDetailsList()

      A complex type that contains information about the geo locations that are returned by the request.

      Returns:
      A complex type that contains information about the geo locations that are returned by the request.
    • setGeoLocationDetailsList

      public void setGeoLocationDetailsList(Collection<GeoLocationDetails> geoLocationDetailsList)

      A complex type that contains information about the geo locations that are returned by the request.

      Parameters:
      geoLocationDetailsList - A complex type that contains information about the geo locations that are returned by the request.
    • withGeoLocationDetailsList

      public ListGeoLocationsResult withGeoLocationDetailsList(GeoLocationDetails... geoLocationDetailsList)

      A complex type that contains information about the geo locations that are returned by the request.

      NOTE: This method appends the values to the existing list (if any). Use setGeoLocationDetailsList(java.util.Collection) or withGeoLocationDetailsList(java.util.Collection) if you want to override the existing values.

      Parameters:
      geoLocationDetailsList - A complex type that contains information about the geo locations that are returned by the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withGeoLocationDetailsList

      public ListGeoLocationsResult withGeoLocationDetailsList(Collection<GeoLocationDetails> geoLocationDetailsList)

      A complex type that contains information about the geo locations that are returned by the request.

      Parameters:
      geoLocationDetailsList - A complex type that contains information about the geo locations that are returned by the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setIsTruncated

      public void setIsTruncated(Boolean isTruncated)

      A flag that indicates whether there are more geo locations to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the values included in the ListGeoLocationsResponse$NextContinentCode, ListGeoLocationsResponse$NextCountryCode and ListGeoLocationsResponse$NextSubdivisionCode elements.

      Valid Values: true | false

      Parameters:
      isTruncated - A flag that indicates whether there are more geo locations to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the values included in the ListGeoLocationsResponse$NextContinentCode, ListGeoLocationsResponse$NextCountryCode and ListGeoLocationsResponse$NextSubdivisionCode elements.

      Valid Values: true | false

    • getIsTruncated

      public Boolean getIsTruncated()

      A flag that indicates whether there are more geo locations to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the values included in the ListGeoLocationsResponse$NextContinentCode, ListGeoLocationsResponse$NextCountryCode and ListGeoLocationsResponse$NextSubdivisionCode elements.

      Valid Values: true | false

      Returns:
      A flag that indicates whether there are more geo locations to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the values included in the ListGeoLocationsResponse$NextContinentCode, ListGeoLocationsResponse$NextCountryCode and ListGeoLocationsResponse$NextSubdivisionCode elements.

      Valid Values: true | false

    • withIsTruncated

      public ListGeoLocationsResult withIsTruncated(Boolean isTruncated)

      A flag that indicates whether there are more geo locations to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the values included in the ListGeoLocationsResponse$NextContinentCode, ListGeoLocationsResponse$NextCountryCode and ListGeoLocationsResponse$NextSubdivisionCode elements.

      Valid Values: true | false

      Parameters:
      isTruncated - A flag that indicates whether there are more geo locations to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the values included in the ListGeoLocationsResponse$NextContinentCode, ListGeoLocationsResponse$NextCountryCode and ListGeoLocationsResponse$NextSubdivisionCode elements.

      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 that indicates whether there are more geo locations to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the values included in the ListGeoLocationsResponse$NextContinentCode, ListGeoLocationsResponse$NextCountryCode and ListGeoLocationsResponse$NextSubdivisionCode elements.

      Valid Values: true | false

      Returns:
      A flag that indicates whether there are more geo locations to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the values included in the ListGeoLocationsResponse$NextContinentCode, ListGeoLocationsResponse$NextCountryCode and ListGeoLocationsResponse$NextSubdivisionCode elements.

      Valid Values: true | false

    • setNextContinentCode

      public void setNextContinentCode(String nextContinentCode)

      If the results were truncated, the continent code of the next geo location in the list. This element is present only if ListGeoLocationsResponse$IsTruncated is true and the next geo location to list is a continent location.

      Parameters:
      nextContinentCode - If the results were truncated, the continent code of the next geo location in the list. This element is present only if ListGeoLocationsResponse$IsTruncated is true and the next geo location to list is a continent location.
    • getNextContinentCode

      public String getNextContinentCode()

      If the results were truncated, the continent code of the next geo location in the list. This element is present only if ListGeoLocationsResponse$IsTruncated is true and the next geo location to list is a continent location.

      Returns:
      If the results were truncated, the continent code of the next geo location in the list. This element is present only if ListGeoLocationsResponse$IsTruncated is true and the next geo location to list is a continent location.
    • withNextContinentCode

      public ListGeoLocationsResult withNextContinentCode(String nextContinentCode)

      If the results were truncated, the continent code of the next geo location in the list. This element is present only if ListGeoLocationsResponse$IsTruncated is true and the next geo location to list is a continent location.

      Parameters:
      nextContinentCode - If the results were truncated, the continent code of the next geo location in the list. This element is present only if ListGeoLocationsResponse$IsTruncated is true and the next geo location to list is a continent location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNextCountryCode

      public void setNextCountryCode(String nextCountryCode)

      If the results were truncated, the country code of the next geo location in the list. This element is present only if ListGeoLocationsResponse$IsTruncated is true and the next geo location to list is not a continent location.

      Parameters:
      nextCountryCode - If the results were truncated, the country code of the next geo location in the list. This element is present only if ListGeoLocationsResponse$IsTruncated is true and the next geo location to list is not a continent location.
    • getNextCountryCode

      public String getNextCountryCode()

      If the results were truncated, the country code of the next geo location in the list. This element is present only if ListGeoLocationsResponse$IsTruncated is true and the next geo location to list is not a continent location.

      Returns:
      If the results were truncated, the country code of the next geo location in the list. This element is present only if ListGeoLocationsResponse$IsTruncated is true and the next geo location to list is not a continent location.
    • withNextCountryCode

      public ListGeoLocationsResult withNextCountryCode(String nextCountryCode)

      If the results were truncated, the country code of the next geo location in the list. This element is present only if ListGeoLocationsResponse$IsTruncated is true and the next geo location to list is not a continent location.

      Parameters:
      nextCountryCode - If the results were truncated, the country code of the next geo location in the list. This element is present only if ListGeoLocationsResponse$IsTruncated is true and the next geo location to list is not a continent location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNextSubdivisionCode

      public void setNextSubdivisionCode(String nextSubdivisionCode)

      If the results were truncated, the subdivision code of the next geo location in the list. This element is present only if ListGeoLocationsResponse$IsTruncated is true and the next geo location has a subdivision.

      Parameters:
      nextSubdivisionCode - If the results were truncated, the subdivision code of the next geo location in the list. This element is present only if ListGeoLocationsResponse$IsTruncated is true and the next geo location has a subdivision.
    • getNextSubdivisionCode

      public String getNextSubdivisionCode()

      If the results were truncated, the subdivision code of the next geo location in the list. This element is present only if ListGeoLocationsResponse$IsTruncated is true and the next geo location has a subdivision.

      Returns:
      If the results were truncated, the subdivision code of the next geo location in the list. This element is present only if ListGeoLocationsResponse$IsTruncated is true and the next geo location has a subdivision.
    • withNextSubdivisionCode

      public ListGeoLocationsResult withNextSubdivisionCode(String nextSubdivisionCode)

      If the results were truncated, the subdivision code of the next geo location in the list. This element is present only if ListGeoLocationsResponse$IsTruncated is true and the next geo location has a subdivision.

      Parameters:
      nextSubdivisionCode - If the results were truncated, the subdivision code of the next geo location in the list. This element is present only if ListGeoLocationsResponse$IsTruncated is true and the next geo location has a subdivision.
      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 records you requested. The maximum value of MaxItems is 100.

      Parameters:
      maxItems - The maximum number of records you requested. The maximum value of MaxItems is 100.
    • getMaxItems

      public String getMaxItems()

      The maximum number of records you requested. The maximum value of MaxItems is 100.

      Returns:
      The maximum number of records you requested. The maximum value of MaxItems is 100.
    • withMaxItems

      public ListGeoLocationsResult withMaxItems(String maxItems)

      The maximum number of records you requested. The maximum value of MaxItems is 100.

      Parameters:
      maxItems - The maximum number of records you requested. The maximum value of MaxItems is 100.
      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 ListGeoLocationsResult clone()
      Overrides:
      clone in class Object