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 oneGeoLocationDetailselement for each location that Amazon Route 53 supports for geolocation.geoLocationDetailsList(Consumer<GeoLocationDetails.Builder>... geoLocationDetailsList) A complex type that contains oneGeoLocationDetailselement for each location that Amazon Route 53 supports for geolocation.geoLocationDetailsList(GeoLocationDetails... geoLocationDetailsList) A complex type that contains oneGeoLocationDetailselement 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 forMaxItemsin the request.nextContinentCode(String nextContinentCode) IfIsTruncatedistrue, you can make a follow-up request to display more locations.nextCountryCode(String nextCountryCode) IfIsTruncatedistrue, you can make a follow-up request to display more locations.nextSubdivisionCode(String nextSubdivisionCode) IfIsTruncatedistrue, you can make a follow-up request to display more locations.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.route53.model.Route53Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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
GeoLocationDetailselement for each location that Amazon Route 53 supports for geolocation.- Parameters:
geoLocationDetailsList- A complex type that contains oneGeoLocationDetailselement 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
GeoLocationDetailselement for each location that Amazon Route 53 supports for geolocation.- Parameters:
geoLocationDetailsList- A complex type that contains oneGeoLocationDetailselement 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 theGeoLocationDetailselement for each location that Amazon Route 53 supports for geolocation.GeoLocationDetails.Builderavoiding the need to create one manually viaGeoLocationDetails.builder().When the
Consumercompletes,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
IsTruncatedistrue. To get more values, submit another request and include the values ofNextContinentCode,NextCountryCode, andNextSubdivisionCodein 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 ofIsTruncatedistrue. To get more values, submit another request and include the values ofNextContinentCode,NextCountryCode, andNextSubdivisionCodein thestartcontinentcode,startcountrycode, andstartsubdivisioncode, as applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextContinentCode
If
IsTruncatedistrue, you can make a follow-up request to display more locations. Enter the value ofNextContinentCodein thestartcontinentcodeparameter in anotherListGeoLocationsrequest.- Parameters:
nextContinentCode- IfIsTruncatedistrue, you can make a follow-up request to display more locations. Enter the value ofNextContinentCodein thestartcontinentcodeparameter in anotherListGeoLocationsrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextCountryCode
If
IsTruncatedistrue, you can make a follow-up request to display more locations. Enter the value ofNextCountryCodein thestartcountrycodeparameter in anotherListGeoLocationsrequest.- Parameters:
nextCountryCode- IfIsTruncatedistrue, you can make a follow-up request to display more locations. Enter the value ofNextCountryCodein thestartcountrycodeparameter in anotherListGeoLocationsrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextSubdivisionCode
If
IsTruncatedistrue, you can make a follow-up request to display more locations. Enter the value ofNextSubdivisionCodein thestartsubdivisioncodeparameter in anotherListGeoLocationsrequest.- Parameters:
nextSubdivisionCode- IfIsTruncatedistrue, you can make a follow-up request to display more locations. Enter the value ofNextSubdivisionCodein thestartsubdivisioncodeparameter in anotherListGeoLocationsrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxItems
The value that you specified for
MaxItemsin the request.- Parameters:
maxItems- The value that you specified forMaxItemsin the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-