Interface GetGeoLocationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetGeoLocationResponse.Builder,
,GetGeoLocationResponse> Route53Response.Builder
,SdkBuilder<GetGeoLocationResponse.Builder,
,GetGeoLocationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetGeoLocationResponse
public static interface GetGeoLocationResponse.Builder
extends Route53Response.Builder, SdkPojo, CopyableBuilder<GetGeoLocationResponse.Builder,GetGeoLocationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetGeoLocationResponse.Builder
geoLocationDetails
(Consumer<GeoLocationDetails.Builder> geoLocationDetails) A complex type that contains the codes and full continent, country, and subdivision names for the specified geolocation code.geoLocationDetails
(GeoLocationDetails geoLocationDetails) A complex type that contains the codes and full continent, country, and subdivision names for the specified geolocation code.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
-
geoLocationDetails
A complex type that contains the codes and full continent, country, and subdivision names for the specified geolocation code.
- Parameters:
geoLocationDetails
- A complex type that contains the codes and full continent, country, and subdivision names for the specified geolocation code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geoLocationDetails
default GetGeoLocationResponse.Builder geoLocationDetails(Consumer<GeoLocationDetails.Builder> geoLocationDetails) A complex type that contains the codes and full continent, country, and subdivision names for the specified geolocation code.
This is a convenience method that creates an instance of theGeoLocationDetails.Builder
avoiding the need to create one manually viaGeoLocationDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togeoLocationDetails(GeoLocationDetails)
.- Parameters:
geoLocationDetails
- 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:
-