@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) |
boolean |
equalsBySdkFields(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) |
boolean |
hasGeoLocationDetailsList()
For responses, this returns true if the service returned a value for the GeoLocationDetailsList property.
|
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() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasGeoLocationDetailsList()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasGeoLocationDetailsList() method.
GeoLocationDetails element for each location that Amazon
Route 53 supports for geolocation.public final 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 final 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 final 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 final 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 final String maxItems()
The value that you specified for MaxItems in the request.
MaxItems in the request.public ListGeoLocationsResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListGeoLocationsResponse.Builder,ListGeoLocationsResponse>toBuilder in class AwsResponsepublic static ListGeoLocationsResponse.Builder builder()
public static Class<? extends ListGeoLocationsResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2022. All rights reserved.