@Generated(value="software.amazon.awssdk:codegen") public class ListGeoLocationsRequest extends Route53Request implements ToCopyableBuilder<ListGeoLocationsRequest.Builder,ListGeoLocationsRequest>
A request to get a list of geographic locations that Amazon Route 53 supports for geolocation resource record sets.
Modifier and Type | Class and Description |
---|---|
static interface |
ListGeoLocationsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ListGeoLocationsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
maxItems()
(Optional) The maximum number of geolocations to be included in the response body for this request.
|
static Class<? extends ListGeoLocationsRequest.Builder> |
serializableBuilderClass() |
String |
startContinentCode()
The code for the continent with which you want to start listing locations that Amazon Route 53 supports for
geolocation.
|
String |
startCountryCode()
The code for the country with which you want to start listing locations that Amazon Route 53 supports for
geolocation.
|
String |
startSubdivisionCode()
The code for the subdivision (for example, state or province) with which you want to start listing locations that
Amazon Route 53 supports for geolocation.
|
ListGeoLocationsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public String startContinentCode()
The code for the continent with which you want to start listing locations that Amazon Route 53 supports for
geolocation. If Amazon Route 53 has already returned a page or more of results, if IsTruncated
is
true, and if NextContinentCode
from the previous response has a value, enter that value in
StartContinentCode
to return the next page of results.
Include StartContinentCode
only if you want to list continents. Don't include
StartContinentCode
when you're listing countries or countries with their subdivisions.
IsTruncated
is true, and if NextContinentCode
from the previous response has a
value, enter that value in StartContinentCode
to return the next page of results.
Include StartContinentCode
only if you want to list continents. Don't include
StartContinentCode
when you're listing countries or countries with their subdivisions.
public String startCountryCode()
The code for the country with which you want to start listing locations that Amazon Route 53 supports for
geolocation. If Amazon Route 53 has already returned a page or more of results, if IsTruncated
is
true
, and if NextCountryCode
from the previous response has a value, enter that value
in StartCountryCode
to return the next page of results.
Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.
IsTruncated
is true
, and if NextCountryCode
from the previous
response has a value, enter that value in StartCountryCode
to return the next page of
results.
Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.
public String startSubdivisionCode()
The code for the subdivision (for example, state or province) with which you want to start listing locations that
Amazon Route 53 supports for geolocation. If Amazon Route 53 has already returned a page or more of results, if
IsTruncated
is true
, and if NextSubdivisionCode
from the previous response
has a value, enter that value in StartSubdivisionCode
to return the next page of results.
To list subdivisions of a country, you must include both StartCountryCode
and
StartSubdivisionCode
.
IsTruncated
is true
, and if
NextSubdivisionCode
from the previous response has a value, enter that value in
StartSubdivisionCode
to return the next page of results.
To list subdivisions of a country, you must include both StartCountryCode
and
StartSubdivisionCode
.
public String maxItems()
(Optional) The maximum number of geolocations to be included in the response body for this request. If more than
MaxItems
geolocations remain to be listed, then the value of the IsTruncated
element in
the response is true
.
MaxItems
geolocations remain to be listed, then the value of the
IsTruncated
element in the response is true
.public ListGeoLocationsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListGeoLocationsRequest.Builder,ListGeoLocationsRequest>
toBuilder
in class Route53Request
public static ListGeoLocationsRequest.Builder builder()
public static Class<? extends ListGeoLocationsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.