Class ListGeoLocationsRequest
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
The input for a ListGeoLocations request.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe maximum number of geo locations you want in the response body.The first continent code in the lexicographic ordering of geo locations that you want theListGeoLocationsrequest to list.The first country code in the lexicographic ordering of geo locations that you want theListGeoLocationsrequest to list.The first subdivision code in the lexicographic ordering of geo locations that you want theListGeoLocationsrequest to list.inthashCode()voidsetMaxItems(String maxItems) The maximum number of geo locations you want in the response body.voidsetStartContinentCode(String startContinentCode) The first continent code in the lexicographic ordering of geo locations that you want theListGeoLocationsrequest to list.voidsetStartCountryCode(String startCountryCode) The first country code in the lexicographic ordering of geo locations that you want theListGeoLocationsrequest to list.voidsetStartSubdivisionCode(String startSubdivisionCode) The first subdivision code in the lexicographic ordering of geo locations that you want theListGeoLocationsrequest to list.toString()Returns a string representation of this object; useful for testing and debugging.withMaxItems(String maxItems) The maximum number of geo locations you want in the response body.withStartContinentCode(String startContinentCode) The first continent code in the lexicographic ordering of geo locations that you want theListGeoLocationsrequest to list.withStartCountryCode(String startCountryCode) The first country code in the lexicographic ordering of geo locations that you want theListGeoLocationsrequest to list.withStartSubdivisionCode(String startSubdivisionCode) The first subdivision code in the lexicographic ordering of geo locations that you want theListGeoLocationsrequest to list.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
ListGeoLocationsRequest
public ListGeoLocationsRequest()
-
-
Method Details
-
setStartContinentCode
The first continent code in the lexicographic ordering of geo locations that you want the
ListGeoLocationsrequest to list. For non-continent geo locations, this should be null.Valid values:
AF|AN|AS|EU|OC|NA|SAConstraint: Specifying
ContinentCodewith eitherCountryCodeorSubdivisionCodereturns an InvalidInput error.- Parameters:
startContinentCode- The first continent code in the lexicographic ordering of geo locations that you want theListGeoLocationsrequest to list. For non-continent geo locations, this should be null.Valid values:
AF|AN|AS|EU|OC|NA|SAConstraint: Specifying
ContinentCodewith eitherCountryCodeorSubdivisionCodereturns an InvalidInput error.
-
getStartContinentCode
The first continent code in the lexicographic ordering of geo locations that you want the
ListGeoLocationsrequest to list. For non-continent geo locations, this should be null.Valid values:
AF|AN|AS|EU|OC|NA|SAConstraint: Specifying
ContinentCodewith eitherCountryCodeorSubdivisionCodereturns an InvalidInput error.- Returns:
- The first continent code in the lexicographic ordering of geo
locations that you want the
ListGeoLocationsrequest to list. For non-continent geo locations, this should be null.Valid values:
AF|AN|AS|EU|OC|NA|SAConstraint: Specifying
ContinentCodewith eitherCountryCodeorSubdivisionCodereturns an InvalidInput error.
-
withStartContinentCode
The first continent code in the lexicographic ordering of geo locations that you want the
ListGeoLocationsrequest to list. For non-continent geo locations, this should be null.Valid values:
AF|AN|AS|EU|OC|NA|SAConstraint: Specifying
ContinentCodewith eitherCountryCodeorSubdivisionCodereturns an InvalidInput error.- Parameters:
startContinentCode- The first continent code in the lexicographic ordering of geo locations that you want theListGeoLocationsrequest to list. For non-continent geo locations, this should be null.Valid values:
AF|AN|AS|EU|OC|NA|SAConstraint: Specifying
ContinentCodewith eitherCountryCodeorSubdivisionCodereturns an InvalidInput error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStartCountryCode
The first country code in the lexicographic ordering of geo locations that you want the
ListGeoLocationsrequest to list.The default geo location uses a
*for the country code. All other country codes follow the ISO 3166 two-character code.- Parameters:
startCountryCode- The first country code in the lexicographic ordering of geo locations that you want theListGeoLocationsrequest to list.The default geo location uses a
*for the country code. All other country codes follow the ISO 3166 two-character code.
-
getStartCountryCode
The first country code in the lexicographic ordering of geo locations that you want the
ListGeoLocationsrequest to list.The default geo location uses a
*for the country code. All other country codes follow the ISO 3166 two-character code.- Returns:
- The first country code in the lexicographic ordering of geo
locations that you want the
ListGeoLocationsrequest to list.The default geo location uses a
*for the country code. All other country codes follow the ISO 3166 two-character code.
-
withStartCountryCode
The first country code in the lexicographic ordering of geo locations that you want the
ListGeoLocationsrequest to list.The default geo location uses a
*for the country code. All other country codes follow the ISO 3166 two-character code.- Parameters:
startCountryCode- The first country code in the lexicographic ordering of geo locations that you want theListGeoLocationsrequest to list.The default geo location uses a
*for the country code. All other country codes follow the ISO 3166 two-character code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStartSubdivisionCode
The first subdivision code in the lexicographic ordering of geo locations that you want the
ListGeoLocationsrequest to list.Constraint: Specifying
SubdivisionCodewithoutCountryCodereturns an InvalidInput error.- Parameters:
startSubdivisionCode- The first subdivision code in the lexicographic ordering of geo locations that you want theListGeoLocationsrequest to list.Constraint: Specifying
SubdivisionCodewithoutCountryCodereturns an InvalidInput error.
-
getStartSubdivisionCode
The first subdivision code in the lexicographic ordering of geo locations that you want the
ListGeoLocationsrequest to list.Constraint: Specifying
SubdivisionCodewithoutCountryCodereturns an InvalidInput error.- Returns:
- The first subdivision code in the lexicographic ordering of geo
locations that you want the
ListGeoLocationsrequest to list.Constraint: Specifying
SubdivisionCodewithoutCountryCodereturns an InvalidInput error.
-
withStartSubdivisionCode
The first subdivision code in the lexicographic ordering of geo locations that you want the
ListGeoLocationsrequest to list.Constraint: Specifying
SubdivisionCodewithoutCountryCodereturns an InvalidInput error.- Parameters:
startSubdivisionCode- The first subdivision code in the lexicographic ordering of geo locations that you want theListGeoLocationsrequest to list.Constraint: Specifying
SubdivisionCodewithoutCountryCodereturns an InvalidInput error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxItems
The maximum number of geo locations you want in the response body.
- Parameters:
maxItems- The maximum number of geo locations you want in the response body.
-
getMaxItems
The maximum number of geo locations you want in the response body.
- Returns:
- The maximum number of geo locations you want in the response body.
-
withMaxItems
The maximum number of geo locations you want in the response body.
- Parameters:
maxItems- The maximum number of geo locations you want in the response body.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-