public class ListGeoLocationsResult extends Object implements Serializable
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 |
|---|---|
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()
public void setGeoLocationDetailsList(Collection<GeoLocationDetails> geoLocationDetailsList)
geoLocationDetailsList - A complex type that contains information about the geo locations that
are returned by the request.public ListGeoLocationsResult withGeoLocationDetailsList(GeoLocationDetails... geoLocationDetailsList)
Returns a reference to this object so that method calls can be chained together.
geoLocationDetailsList - A complex type that contains information about the geo locations that
are returned by the request.public ListGeoLocationsResult withGeoLocationDetailsList(Collection<GeoLocationDetails> geoLocationDetailsList)
Returns a reference to this object so that method calls can be chained together.
geoLocationDetailsList - A complex type that contains information about the geo locations that
are returned by the request.public Boolean isTruncated()
Valid
Values: true | false
Valid
Values: true | false
public void setIsTruncated(Boolean isTruncated)
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 ListGeoLocationsResult withIsTruncated(Boolean isTruncated)
Valid
Values: true | false
Returns a reference to this object so that method calls can be chained together.
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()
Valid
Values: true | false
Valid
Values: true | false
public String getNextContinentCode()
Constraints:
Length: 2 - 2
public void setNextContinentCode(String nextContinentCode)
Constraints:
Length: 2 - 2
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 ListGeoLocationsResult withNextContinentCode(String nextContinentCode)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 2 - 2
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 getNextCountryCode()
Constraints:
Length: 1 - 2
public void setNextCountryCode(String nextCountryCode)
Constraints:
Length: 1 - 2
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 ListGeoLocationsResult withNextCountryCode(String nextCountryCode)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2
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 getNextSubdivisionCode()
Constraints:
Length: 1 - 3
public void setNextSubdivisionCode(String nextSubdivisionCode)
Constraints:
Length: 1 - 3
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 ListGeoLocationsResult withNextSubdivisionCode(String nextSubdivisionCode)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 3
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 getMaxItems()
MaxItems is 100.MaxItems is 100.public void setMaxItems(String maxItems)
MaxItems is 100.maxItems - The maximum number of records you requested. The maximum value of
MaxItems is 100.public ListGeoLocationsResult withMaxItems(String maxItems)
MaxItems is 100.
Returns a reference to this object so that method calls can be chained together.
maxItems - The maximum number of records you requested. The maximum value of
MaxItems is 100.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.