Interface ComponentMatchScores.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ComponentMatchScores.Builder,ComponentMatchScores>,SdkBuilder<ComponentMatchScores.Builder,ComponentMatchScores>,SdkPojo
- Enclosing class:
- ComponentMatchScores
public static interface ComponentMatchScores.Builder extends SdkPojo, CopyableBuilder<ComponentMatchScores.Builder,ComponentMatchScores>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ComponentMatchScores.Builderaddress(Consumer<AddressComponentMatchScores.Builder> address)The place's address.ComponentMatchScores.Builderaddress(AddressComponentMatchScores address)The place's address.ComponentMatchScores.Buildertitle(Double title)Indicates the starting and ending index of the title in the text query that match the found title.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
title
ComponentMatchScores.Builder title(Double title)
Indicates the starting and ending index of the title in the text query that match the found title.
- Parameters:
title- Indicates the starting and ending index of the title in the text query that match the found title.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
address
ComponentMatchScores.Builder address(AddressComponentMatchScores address)
The place's address.
- Parameters:
address- The place's address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
address
default ComponentMatchScores.Builder address(Consumer<AddressComponentMatchScores.Builder> address)
The place's address.
This is a convenience method that creates an instance of theAddressComponentMatchScores.Builderavoiding the need to create one manually viaAddressComponentMatchScores.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaddress(AddressComponentMatchScores).- Parameters:
address- a consumer that will call methods onAddressComponentMatchScores.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
address(AddressComponentMatchScores)
-
-