Interface QueryOutputVector.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<QueryOutputVector.Builder,,QueryOutputVector> SdkBuilder<QueryOutputVector.Builder,,QueryOutputVector> SdkPojo
- Enclosing class:
QueryOutputVector
@Mutable
@NotThreadSafe
public static interface QueryOutputVector.Builder
extends SdkPojo, CopyableBuilder<QueryOutputVector.Builder,QueryOutputVector>
-
Method Summary
Modifier and TypeMethodDescriptionThe measure of similarity between the vector in the response and the query vector.The key of the vector in the approximate nearest neighbor search.The metadata associated with the vector, if requested.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
distance
The measure of similarity between the vector in the response and the query vector.
- Parameters:
distance- The measure of similarity between the vector in the response and the query vector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
The key of the vector in the approximate nearest neighbor search.
- Parameters:
key- The key of the vector in the approximate nearest neighbor search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
The metadata associated with the vector, if requested.
- Parameters:
metadata- The metadata associated with the vector, if requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-