@Generated(value="software.amazon.awssdk:codegen") public final class ListGeoLocationsResponse extends Route53Response implements ToCopyableBuilder<ListGeoLocationsResponse.Builder,ListGeoLocationsResponse>
A complex type containing the response information for the request.
Modifier and Type | Class and Description |
---|---|
static interface |
ListGeoLocationsResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static ListGeoLocationsResponse.Builder |
builder() |
boolean |
equals(Object obj) |
List<GeoLocationDetails> |
geoLocationDetailsList()
A complex type that contains one
GeoLocationDetails element for each location that Amazon Route 53
supports for geolocation. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
Boolean |
isTruncated()
A value that indicates whether more locations remain to be listed after the last location in this response.
|
String |
maxItems()
The value that you specified for
MaxItems in the request. |
String |
nextContinentCode()
If
IsTruncated is true , you can make a follow-up request to display more locations. |
String |
nextCountryCode()
If
IsTruncated is true , you can make a follow-up request to display more locations. |
String |
nextSubdivisionCode()
If
IsTruncated is true , you can make a follow-up request to display more locations. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListGeoLocationsResponse.Builder> |
serializableBuilderClass() |
ListGeoLocationsResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
responseMetadata
sdkHttpResponse
copy
public List<GeoLocationDetails> geoLocationDetailsList()
A complex type that contains one GeoLocationDetails
element for each location that Amazon Route 53
supports for geolocation.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
GeoLocationDetails
element for each location that Amazon
Route 53 supports for geolocation.public Boolean isTruncated()
A value that indicates whether more locations remain to be listed after the last location in this response. If
so, the value of IsTruncated
is true
. To get more values, submit another request and
include the values of NextContinentCode
, NextCountryCode
, and
NextSubdivisionCode
in the startcontinentcode
, startcountrycode
, and
startsubdivisioncode
, as applicable.
IsTruncated
is true
. To get more values, submit
another request and include the values of NextContinentCode
, NextCountryCode
,
and NextSubdivisionCode
in the startcontinentcode
,
startcountrycode
, and startsubdivisioncode
, as applicable.public String nextContinentCode()
If IsTruncated
is true
, you can make a follow-up request to display more locations.
Enter the value of NextContinentCode
in the startcontinentcode
parameter in another
ListGeoLocations
request.
IsTruncated
is true
, you can make a follow-up request to display more
locations. Enter the value of NextContinentCode
in the startcontinentcode
parameter in another ListGeoLocations
request.public String nextCountryCode()
If IsTruncated
is true
, you can make a follow-up request to display more locations.
Enter the value of NextCountryCode
in the startcountrycode
parameter in another
ListGeoLocations
request.
IsTruncated
is true
, you can make a follow-up request to display more
locations. Enter the value of NextCountryCode
in the startcountrycode
parameter
in another ListGeoLocations
request.public String nextSubdivisionCode()
If IsTruncated
is true
, you can make a follow-up request to display more locations.
Enter the value of NextSubdivisionCode
in the startsubdivisioncode
parameter in another
ListGeoLocations
request.
IsTruncated
is true
, you can make a follow-up request to display more
locations. Enter the value of NextSubdivisionCode
in the startsubdivisioncode
parameter in another ListGeoLocations
request.public String maxItems()
The value that you specified for MaxItems
in the request.
MaxItems
in the request.public ListGeoLocationsResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListGeoLocationsResponse.Builder,ListGeoLocationsResponse>
toBuilder
in class AwsResponse
public static ListGeoLocationsResponse.Builder builder()
public static Class<? extends ListGeoLocationsResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. 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 SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
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.