Interface MatchScoreDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MatchScoreDetails.Builder,MatchScoreDetails>,SdkBuilder<MatchScoreDetails.Builder,MatchScoreDetails>,SdkPojo
- Enclosing class:
- MatchScoreDetails
public static interface MatchScoreDetails.Builder extends SdkPojo, CopyableBuilder<MatchScoreDetails.Builder,MatchScoreDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default MatchScoreDetails.Buildercomponents(Consumer<ComponentMatchScores.Builder> components)Indicates how well the component input matches the returned.MatchScoreDetails.Buildercomponents(ComponentMatchScores components)Indicates how well the component input matches the returned.MatchScoreDetails.Builderoverall(Double overall)Indicates how well the entire input matches the returned.-
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
-
overall
MatchScoreDetails.Builder overall(Double overall)
Indicates how well the entire input matches the returned. It is equal to 1 if all input tokens are recognized and matched.
- Parameters:
overall- Indicates how well the entire input matches the returned. It is equal to 1 if all input tokens are recognized and matched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
components
MatchScoreDetails.Builder components(ComponentMatchScores components)
Indicates how well the component input matches the returned. It is equal to 1 if all input tokens are recognized and matched.
- Parameters:
components- Indicates how well the component input matches the returned. It is equal to 1 if all input tokens are recognized and matched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
components
default MatchScoreDetails.Builder components(Consumer<ComponentMatchScores.Builder> components)
Indicates how well the component input matches the returned. It is equal to 1 if all input tokens are recognized and matched.
This is a convenience method that creates an instance of theComponentMatchScores.Builderavoiding the need to create one manually viaComponentMatchScores.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocomponents(ComponentMatchScores).- Parameters:
components- a consumer that will call methods onComponentMatchScores.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
components(ComponentMatchScores)
-
-