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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListGeoLocationsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListGeoLocationsResult
clone()
boolean
equals(Object obj)
List<GeoLocationDetails>
getGeoLocationDetailsList()
A complex type that contains information about the geo locations that are returned by the request.Boolean
getIsTruncated()
A flag that indicates whether there are more geo locations to be listed.String
getMaxItems()
The maximum number of records you requested.String
getNextContinentCode()
If the results were truncated, the continent code of the next geo location in the list.String
getNextCountryCode()
If the results were truncated, the country code of the next geo location in the list.String
getNextSubdivisionCode()
If the results were truncated, the subdivision code of the next geo location in the list.int
hashCode()
Boolean
isTruncated()
A flag that indicates whether there are more geo locations to be listed.void
setGeoLocationDetailsList(Collection<GeoLocationDetails> geoLocationDetailsList)
A complex type that contains information about the geo locations that are returned by the request.void
setIsTruncated(Boolean isTruncated)
A flag that indicates whether there are more geo locations to be listed.void
setMaxItems(String maxItems)
The maximum number of records you requested.void
setNextContinentCode(String nextContinentCode)
If the results were truncated, the continent code of the next geo location in the list.void
setNextCountryCode(String nextCountryCode)
If the results were truncated, the country code of the next geo location in the list.void
setNextSubdivisionCode(String nextSubdivisionCode)
If the results were truncated, the subdivision code of the next geo location in the list.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListGeoLocationsResult
withGeoLocationDetailsList(GeoLocationDetails... geoLocationDetailsList)
A complex type that contains information about the geo locations that are returned by the request.ListGeoLocationsResult
withGeoLocationDetailsList(Collection<GeoLocationDetails> geoLocationDetailsList)
A complex type that contains information about the geo locations that are returned by the request.ListGeoLocationsResult
withIsTruncated(Boolean isTruncated)
A flag that indicates whether there are more geo locations to be listed.ListGeoLocationsResult
withMaxItems(String maxItems)
The maximum number of records you requested.ListGeoLocationsResult
withNextContinentCode(String nextContinentCode)
If the results were truncated, the continent code of the next geo location in the list.ListGeoLocationsResult
withNextCountryCode(String nextCountryCode)
If the results were truncated, the country code of the next geo location in the list.ListGeoLocationsResult
withNextSubdivisionCode(String nextSubdivisionCode)
If the results were truncated, the subdivision code of the next geo location in the list.
-
-
-
Method Detail
-
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)
orwithGeoLocationDetailsList(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 ofMaxItems
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 ofMaxItems
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListGeoLocationsResult clone()
-
-