Interface ComponentMatchScores.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ComponentMatchScores.Builder,
,ComponentMatchScores> SdkBuilder<ComponentMatchScores.Builder,
,ComponentMatchScores> SdkPojo
- Enclosing class:
ComponentMatchScores
@Mutable
@NotThreadSafe
public static interface ComponentMatchScores.Builder
extends SdkPojo, CopyableBuilder<ComponentMatchScores.Builder,ComponentMatchScores>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ComponentMatchScores.Builder
The place's address.address
(AddressComponentMatchScores address) The place's address.Indicates the match score 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 Details
-
title
Indicates the match score of the title in the text query that match the found title.
- Parameters:
title
- Indicates the match score 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
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
The place's address.
This is a convenience method that creates an instance of theAddressComponentMatchScores.Builder
avoiding the need to create one manually viaAddressComponentMatchScores.builder()
.When the
Consumer
completes,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:
-