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.boolean
The 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 theListGeoLocations
request to list.The first country code in the lexicographic ordering of geo locations that you want theListGeoLocations
request to list.The first subdivision code in the lexicographic ordering of geo locations that you want theListGeoLocations
request to list.int
hashCode()
void
setMaxItems
(String maxItems) The maximum number of geo locations you want in the response body.void
setStartContinentCode
(String startContinentCode) The first continent code in the lexicographic ordering of geo locations that you want theListGeoLocations
request to list.void
setStartCountryCode
(String startCountryCode) The first country code in the lexicographic ordering of geo locations that you want theListGeoLocations
request to list.void
setStartSubdivisionCode
(String startSubdivisionCode) The first subdivision code in the lexicographic ordering of geo locations that you want theListGeoLocations
request 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 theListGeoLocations
request to list.withStartCountryCode
(String startCountryCode) The first country code in the lexicographic ordering of geo locations that you want theListGeoLocations
request to list.withStartSubdivisionCode
(String startSubdivisionCode) The first subdivision code in the lexicographic ordering of geo locations that you want theListGeoLocations
request 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
ListGeoLocations
request to list. For non-continent geo locations, this should be null.Valid values:
AF
|AN
|AS
|EU
|OC
|NA
|SA
Constraint: Specifying
ContinentCode
with eitherCountryCode
orSubdivisionCode
returns an InvalidInput error.- Parameters:
startContinentCode
- The first continent code in the lexicographic ordering of geo locations that you want theListGeoLocations
request to list. For non-continent geo locations, this should be null.Valid values:
AF
|AN
|AS
|EU
|OC
|NA
|SA
Constraint: Specifying
ContinentCode
with eitherCountryCode
orSubdivisionCode
returns an InvalidInput error.
-
getStartContinentCode
The first continent code in the lexicographic ordering of geo locations that you want the
ListGeoLocations
request to list. For non-continent geo locations, this should be null.Valid values:
AF
|AN
|AS
|EU
|OC
|NA
|SA
Constraint: Specifying
ContinentCode
with eitherCountryCode
orSubdivisionCode
returns an InvalidInput error.- Returns:
- The first continent code in the lexicographic ordering of geo
locations that you want the
ListGeoLocations
request to list. For non-continent geo locations, this should be null.Valid values:
AF
|AN
|AS
|EU
|OC
|NA
|SA
Constraint: Specifying
ContinentCode
with eitherCountryCode
orSubdivisionCode
returns an InvalidInput error.
-
withStartContinentCode
The first continent code in the lexicographic ordering of geo locations that you want the
ListGeoLocations
request to list. For non-continent geo locations, this should be null.Valid values:
AF
|AN
|AS
|EU
|OC
|NA
|SA
Constraint: Specifying
ContinentCode
with eitherCountryCode
orSubdivisionCode
returns an InvalidInput error.- Parameters:
startContinentCode
- The first continent code in the lexicographic ordering of geo locations that you want theListGeoLocations
request to list. For non-continent geo locations, this should be null.Valid values:
AF
|AN
|AS
|EU
|OC
|NA
|SA
Constraint: Specifying
ContinentCode
with eitherCountryCode
orSubdivisionCode
returns 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
ListGeoLocations
request 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 theListGeoLocations
request 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
ListGeoLocations
request 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
ListGeoLocations
request 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
ListGeoLocations
request 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 theListGeoLocations
request 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
ListGeoLocations
request to list.Constraint: Specifying
SubdivisionCode
withoutCountryCode
returns an InvalidInput error.- Parameters:
startSubdivisionCode
- The first subdivision code in the lexicographic ordering of geo locations that you want theListGeoLocations
request to list.Constraint: Specifying
SubdivisionCode
withoutCountryCode
returns an InvalidInput error.
-
getStartSubdivisionCode
The first subdivision code in the lexicographic ordering of geo locations that you want the
ListGeoLocations
request to list.Constraint: Specifying
SubdivisionCode
withoutCountryCode
returns an InvalidInput error.- Returns:
- The first subdivision code in the lexicographic ordering of geo
locations that you want the
ListGeoLocations
request to list.Constraint: Specifying
SubdivisionCode
withoutCountryCode
returns an InvalidInput error.
-
withStartSubdivisionCode
The first subdivision code in the lexicographic ordering of geo locations that you want the
ListGeoLocations
request to list.Constraint: Specifying
SubdivisionCode
withoutCountryCode
returns an InvalidInput error.- Parameters:
startSubdivisionCode
- The first subdivision code in the lexicographic ordering of geo locations that you want theListGeoLocations
request to list.Constraint: Specifying
SubdivisionCode
withoutCountryCode
returns 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:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-