Interface ListGeoLocationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListGeoLocationsResponse.Builder,
,ListGeoLocationsResponse> Route53Response.Builder
,SdkBuilder<ListGeoLocationsResponse.Builder,
,ListGeoLocationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListGeoLocationsResponse
-
Method Summary
Modifier and TypeMethodDescriptiongeoLocationDetailsList
(Collection<GeoLocationDetails> geoLocationDetailsList) A complex type that contains oneGeoLocationDetails
element for each location that Amazon Route 53 supports for geolocation.geoLocationDetailsList
(Consumer<GeoLocationDetails.Builder>... geoLocationDetailsList) A complex type that contains oneGeoLocationDetails
element for each location that Amazon Route 53 supports for geolocation.geoLocationDetailsList
(GeoLocationDetails... geoLocationDetailsList) A complex type that contains oneGeoLocationDetails
element for each location that Amazon Route 53 supports for geolocation.isTruncated
(Boolean isTruncated) A value that indicates whether more locations remain to be listed after the last location in this response.The value that you specified forMaxItems
in the request.nextContinentCode
(String nextContinentCode) IfIsTruncated
istrue
, you can make a follow-up request to display more locations.nextCountryCode
(String nextCountryCode) IfIsTruncated
istrue
, you can make a follow-up request to display more locations.nextSubdivisionCode
(String nextSubdivisionCode) IfIsTruncated
istrue
, you can make a follow-up request to display more locations.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.route53.model.Route53Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
geoLocationDetailsList
ListGeoLocationsResponse.Builder geoLocationDetailsList(Collection<GeoLocationDetails> geoLocationDetailsList) A complex type that contains one
GeoLocationDetails
element for each location that Amazon Route 53 supports for geolocation.- Parameters:
geoLocationDetailsList
- A complex type that contains oneGeoLocationDetails
element for each location that Amazon Route 53 supports for geolocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geoLocationDetailsList
ListGeoLocationsResponse.Builder geoLocationDetailsList(GeoLocationDetails... geoLocationDetailsList) A complex type that contains one
GeoLocationDetails
element for each location that Amazon Route 53 supports for geolocation.- Parameters:
geoLocationDetailsList
- A complex type that contains oneGeoLocationDetails
element for each location that Amazon Route 53 supports for geolocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geoLocationDetailsList
ListGeoLocationsResponse.Builder geoLocationDetailsList(Consumer<GeoLocationDetails.Builder>... geoLocationDetailsList) A complex type that contains one
This is a convenience method that creates an instance of theGeoLocationDetails
element for each location that Amazon Route 53 supports for geolocation.GeoLocationDetails.Builder
avoiding the need to create one manually viaGeoLocationDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togeoLocationDetailsList(List<GeoLocationDetails>)
.- Parameters:
geoLocationDetailsList
- a consumer that will call methods onGeoLocationDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
istrue
. To get more values, submit another request and include the values ofNextContinentCode
,NextCountryCode
, andNextSubdivisionCode
in thestartcontinentcode
,startcountrycode
, andstartsubdivisioncode
, as applicable.- Parameters:
isTruncated
- A value that indicates whether more locations remain to be listed after the last location in this response. If so, the value ofIsTruncated
istrue
. To get more values, submit another request and include the values ofNextContinentCode
,NextCountryCode
, andNextSubdivisionCode
in thestartcontinentcode
,startcountrycode
, andstartsubdivisioncode
, as applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextContinentCode
If
IsTruncated
istrue
, you can make a follow-up request to display more locations. Enter the value ofNextContinentCode
in thestartcontinentcode
parameter in anotherListGeoLocations
request.- Parameters:
nextContinentCode
- IfIsTruncated
istrue
, you can make a follow-up request to display more locations. Enter the value ofNextContinentCode
in thestartcontinentcode
parameter in anotherListGeoLocations
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextCountryCode
If
IsTruncated
istrue
, you can make a follow-up request to display more locations. Enter the value ofNextCountryCode
in thestartcountrycode
parameter in anotherListGeoLocations
request.- Parameters:
nextCountryCode
- IfIsTruncated
istrue
, you can make a follow-up request to display more locations. Enter the value ofNextCountryCode
in thestartcountrycode
parameter in anotherListGeoLocations
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextSubdivisionCode
If
IsTruncated
istrue
, you can make a follow-up request to display more locations. Enter the value ofNextSubdivisionCode
in thestartsubdivisioncode
parameter in anotherListGeoLocations
request.- Parameters:
nextSubdivisionCode
- IfIsTruncated
istrue
, you can make a follow-up request to display more locations. Enter the value ofNextSubdivisionCode
in thestartsubdivisioncode
parameter in anotherListGeoLocations
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxItems
The value that you specified for
MaxItems
in the request.- Parameters:
maxItems
- The value that you specified forMaxItems
in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-