public class ListGeoLocationsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A complex type that contains information about the geo locations that are returned by the request and information about the response.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<GeoLocationDetails> |
geoLocationDetailsList
A complex type that contains information about the geo locations that are
returned by the request.
|
private java.lang.Boolean |
isTruncated
A flag that indicates whether there are more geo locations to be listed.
|
private java.lang.String |
maxItems
The maximum number of records you requested.
|
private java.lang.String |
nextContinentCode
If the results were truncated, the continent code of the next geo
location in the list.
|
private java.lang.String |
nextCountryCode
If the results were truncated, the country code of the next geo location
in the list.
|
private java.lang.String |
nextSubdivisionCode
If the results were truncated, the subdivision code of the next geo
location in the list.
|
Constructor and Description |
---|
ListGeoLocationsResult() |
Modifier and Type | Method and Description |
---|---|
ListGeoLocationsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<GeoLocationDetails> |
getGeoLocationDetailsList()
A complex type that contains information about the geo locations that are
returned by the request.
|
java.lang.Boolean |
getIsTruncated()
A flag that indicates whether there are more geo locations to be listed.
|
java.lang.String |
getMaxItems()
The maximum number of records you requested.
|
java.lang.String |
getNextContinentCode()
If the results were truncated, the continent code of the next geo
location in the list.
|
java.lang.String |
getNextCountryCode()
If the results were truncated, the country code of the next geo location
in the list.
|
java.lang.String |
getNextSubdivisionCode()
If the results were truncated, the subdivision code of the next geo
location in the list.
|
int |
hashCode() |
java.lang.Boolean |
isTruncated()
A flag that indicates whether there are more geo locations to be listed.
|
void |
setGeoLocationDetailsList(java.util.Collection<GeoLocationDetails> geoLocationDetailsList)
A complex type that contains information about the geo locations that are
returned by the request.
|
void |
setIsTruncated(java.lang.Boolean isTruncated)
A flag that indicates whether there are more geo locations to be listed.
|
void |
setMaxItems(java.lang.String maxItems)
The maximum number of records you requested.
|
void |
setNextContinentCode(java.lang.String nextContinentCode)
If the results were truncated, the continent code of the next geo
location in the list.
|
void |
setNextCountryCode(java.lang.String nextCountryCode)
If the results were truncated, the country code of the next geo location
in the list.
|
void |
setNextSubdivisionCode(java.lang.String nextSubdivisionCode)
If the results were truncated, the subdivision code of the next geo
location in the list.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListGeoLocationsResult |
withGeoLocationDetailsList(java.util.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(java.lang.Boolean isTruncated)
A flag that indicates whether there are more geo locations to be listed.
|
ListGeoLocationsResult |
withMaxItems(java.lang.String maxItems)
The maximum number of records you requested.
|
ListGeoLocationsResult |
withNextContinentCode(java.lang.String nextContinentCode)
If the results were truncated, the continent code of the next geo
location in the list.
|
ListGeoLocationsResult |
withNextCountryCode(java.lang.String nextCountryCode)
If the results were truncated, the country code of the next geo location
in the list.
|
ListGeoLocationsResult |
withNextSubdivisionCode(java.lang.String nextSubdivisionCode)
If the results were truncated, the subdivision code of the next geo
location in the list.
|
private SdkInternalList<GeoLocationDetails> geoLocationDetailsList
A complex type that contains information about the geo locations that are returned by the request.
private java.lang.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
private java.lang.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.
private java.lang.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.
private java.lang.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.
private java.lang.String maxItems
The maximum number of records you requested. The maximum value of
MaxItems
is 100.
public java.util.List<GeoLocationDetails> getGeoLocationDetailsList()
A complex type that contains information about the geo locations that are returned by the request.
public void setGeoLocationDetailsList(java.util.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(java.util.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String getMaxItems()
The maximum number of records you requested. The maximum value of
MaxItems
is 100.
MaxItems
is 100.public ListGeoLocationsResult withMaxItems(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListGeoLocationsResult clone()
clone
in class java.lang.Object