Interface GetGeoLocationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetGeoLocationResponse.Builder,,GetGeoLocationResponse> Route53Response.Builder,SdkBuilder<GetGeoLocationResponse.Builder,,GetGeoLocationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetGeoLocationResponse
@Mutable
@NotThreadSafe
public static interface GetGeoLocationResponse.Builder
extends Route53Response.Builder, SdkPojo, CopyableBuilder<GetGeoLocationResponse.Builder,GetGeoLocationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetGeoLocationResponse.BuildergeoLocationDetails(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
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, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaGeoLocationDetails.builder().When the
Consumercompletes,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:
-