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.
Constructor and Description |
---|
ListGeoLocationsResult() |
Modifier and Type | Method and 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(Collection<GeoLocationDetails> geoLocationDetailsList)
A complex type that contains information about the geo locations that are
returned by the request.
|
ListGeoLocationsResult |
withGeoLocationDetailsList(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.
|
public List<GeoLocationDetails> getGeoLocationDetailsList()
A complex type that contains information about the geo locations that are returned by the request.
public void setGeoLocationDetailsList(Collection<GeoLocationDetails> geoLocationDetailsList)
A complex type that contains information about the geo locations that are returned by the request.
geoLocationDetailsList
- A complex type that contains information about the geo locations
that are returned by the request.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.
geoLocationDetailsList
- A complex type that contains information about the geo locations
that are returned by the request.public ListGeoLocationsResult withGeoLocationDetailsList(Collection<GeoLocationDetails> geoLocationDetailsList)
A complex type that contains information about the geo locations that are returned by the request.
geoLocationDetailsList
- A complex type that contains information about the geo locations
that are returned by the request.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
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
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
Valid Values: true
| false
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
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
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
Valid Values: true
| false
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.
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.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.
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.
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.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.
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.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.
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.
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.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.
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.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.
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.
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.public void setMaxItems(String maxItems)
The maximum number of records you requested. The maximum value of
MaxItems
is 100.
maxItems
- The maximum number of records you requested. The maximum value of
MaxItems
is 100.public String getMaxItems()
The maximum number of records you requested. The maximum value of
MaxItems
is 100.
MaxItems
is 100.public ListGeoLocationsResult withMaxItems(String maxItems)
The maximum number of records you requested. The maximum value of
MaxItems
is 100.
maxItems
- The maximum number of records you requested. The maximum value of
MaxItems
is 100.public String toString()
toString
in class Object
Object.toString()
public ListGeoLocationsResult clone()
Copyright © 2018. All rights reserved.