public class ListGeoLocationsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
The input for a ListGeoLocations
request.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
maxItems
The maximum number of geo locations you want in the response body.
|
private java.lang.String |
startContinentCode
The first continent code in the lexicographic ordering of geo locations
that you want the
ListGeoLocations request to list. |
private java.lang.String |
startCountryCode
The first country code in the lexicographic ordering of geo locations
that you want the
ListGeoLocations request to list. |
private java.lang.String |
startSubdivisionCode
The first subdivision code in the lexicographic ordering of geo locations
that you want the
ListGeoLocations request to list. |
NOOP
Constructor and Description |
---|
ListGeoLocationsRequest() |
Modifier and Type | Method and Description |
---|---|
ListGeoLocationsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMaxItems()
The maximum number of geo locations you want in the response body.
|
java.lang.String |
getStartContinentCode()
The first continent code in the lexicographic ordering of geo locations
that you want the
ListGeoLocations request to list. |
java.lang.String |
getStartCountryCode()
The first country code in the lexicographic ordering of geo locations
that you want the
ListGeoLocations request to list. |
java.lang.String |
getStartSubdivisionCode()
The first subdivision code in the lexicographic ordering of geo locations
that you want the
ListGeoLocations request to list. |
int |
hashCode() |
void |
setMaxItems(java.lang.String maxItems)
The maximum number of geo locations you want in the response body.
|
void |
setStartContinentCode(java.lang.String startContinentCode)
The first continent code in the lexicographic ordering of geo locations
that you want the
ListGeoLocations request to list. |
void |
setStartCountryCode(java.lang.String startCountryCode)
The first country code in the lexicographic ordering of geo locations
that you want the
ListGeoLocations request to list. |
void |
setStartSubdivisionCode(java.lang.String startSubdivisionCode)
The first subdivision code in the lexicographic ordering of geo locations
that you want the
ListGeoLocations request to list. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListGeoLocationsRequest |
withMaxItems(java.lang.String maxItems)
The maximum number of geo locations you want in the response body.
|
ListGeoLocationsRequest |
withStartContinentCode(java.lang.String startContinentCode)
The first continent code in the lexicographic ordering of geo locations
that you want the
ListGeoLocations request to list. |
ListGeoLocationsRequest |
withStartCountryCode(java.lang.String startCountryCode)
The first country code in the lexicographic ordering of geo locations
that you want the
ListGeoLocations request to list. |
ListGeoLocationsRequest |
withStartSubdivisionCode(java.lang.String startSubdivisionCode)
The first subdivision code in the lexicographic ordering of geo locations
that you want the
ListGeoLocations request to list. |
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
private java.lang.String startContinentCode
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 either
CountryCode
or SubdivisionCode
returns an
InvalidInput error.
private java.lang.String startCountryCode
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.
private java.lang.String startSubdivisionCode
The first subdivision code in the lexicographic ordering of geo locations
that you want the ListGeoLocations
request to list.
Constraint: Specifying SubdivisionCode
without
CountryCode
returns an InvalidInput error.
private java.lang.String maxItems
The maximum number of geo locations you want in the response body.
public void setStartContinentCode(java.lang.String startContinentCode)
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 either
CountryCode
or SubdivisionCode
returns an
InvalidInput error.
startContinentCode
- 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 either
CountryCode
or SubdivisionCode
returns
an InvalidInput error.
public java.lang.String 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 either
CountryCode
or SubdivisionCode
returns an
InvalidInput error.
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 either
CountryCode
or SubdivisionCode
returns
an InvalidInput error.
public ListGeoLocationsRequest withStartContinentCode(java.lang.String startContinentCode)
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 either
CountryCode
or SubdivisionCode
returns an
InvalidInput error.
startContinentCode
- 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 either
CountryCode
or SubdivisionCode
returns
an InvalidInput error.
public void setStartCountryCode(java.lang.String startCountryCode)
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.
startCountryCode
- 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.
public java.lang.String 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.
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.
public ListGeoLocationsRequest withStartCountryCode(java.lang.String startCountryCode)
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.
startCountryCode
- 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.
public void setStartSubdivisionCode(java.lang.String startSubdivisionCode)
The first subdivision code in the lexicographic ordering of geo locations
that you want the ListGeoLocations
request to list.
Constraint: Specifying SubdivisionCode
without
CountryCode
returns an InvalidInput error.
startSubdivisionCode
- The first subdivision code in the lexicographic ordering of geo
locations that you want the ListGeoLocations
request
to list.
Constraint: Specifying SubdivisionCode
without
CountryCode
returns an InvalidInput error.
public java.lang.String getStartSubdivisionCode()
The first subdivision code in the lexicographic ordering of geo locations
that you want the ListGeoLocations
request to list.
Constraint: Specifying SubdivisionCode
without
CountryCode
returns an InvalidInput error.
ListGeoLocations
request
to list.
Constraint: Specifying SubdivisionCode
without
CountryCode
returns an InvalidInput error.
public ListGeoLocationsRequest withStartSubdivisionCode(java.lang.String startSubdivisionCode)
The first subdivision code in the lexicographic ordering of geo locations
that you want the ListGeoLocations
request to list.
Constraint: Specifying SubdivisionCode
without
CountryCode
returns an InvalidInput error.
startSubdivisionCode
- The first subdivision code in the lexicographic ordering of geo
locations that you want the ListGeoLocations
request
to list.
Constraint: Specifying SubdivisionCode
without
CountryCode
returns an InvalidInput error.
public void setMaxItems(java.lang.String maxItems)
The maximum number of geo locations you want in the response body.
maxItems
- The maximum number of geo locations you want in the response body.public java.lang.String getMaxItems()
The maximum number of geo locations you want in the response body.
public ListGeoLocationsRequest withMaxItems(java.lang.String maxItems)
The maximum number of geo locations you want in the response body.
maxItems
- The maximum number of geo locations you want in the response body.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 ListGeoLocationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()