Interface SearchSchemaElement.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SearchSchemaElement.Builder,,SearchSchemaElement> SdkBuilder<SearchSchemaElement.Builder,,SearchSchemaElement> SdkPojo
- Enclosing class:
SearchSchemaElement
-
Method Summary
Modifier and TypeMethodDescriptionattributeName(String attributeName) The name of the attribute.searchSchemaElementType(String searchSchemaElementType) The role of the attribute in the search schema.searchSchemaElementType(SearchSchemaElementType searchSchemaElementType) The role of the attribute in the search schema.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
-
attributeName
The name of the attribute.
- Parameters:
attributeName- The name of the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchSchemaElementType
The role of the attribute in the search schema. Valid values:
-
HASH- A partition key that partitions the vector index for independent scaling. When specified, you must provide this attribute's value in theSearchConditionExpression. -
INLINE_FILTER- An attribute projected into the vector index for filtering at the storage layer during search. Inline filters are optional in theSearchConditionExpression.
- Parameters:
searchSchemaElementType- The role of the attribute in the search schema. Valid values:-
HASH- A partition key that partitions the vector index for independent scaling. When specified, you must provide this attribute's value in theSearchConditionExpression. -
INLINE_FILTER- An attribute projected into the vector index for filtering at the storage layer during search. Inline filters are optional in theSearchConditionExpression.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
searchSchemaElementType
SearchSchemaElement.Builder searchSchemaElementType(SearchSchemaElementType searchSchemaElementType) The role of the attribute in the search schema. Valid values:
-
HASH- A partition key that partitions the vector index for independent scaling. When specified, you must provide this attribute's value in theSearchConditionExpression. -
INLINE_FILTER- An attribute projected into the vector index for filtering at the storage layer during search. Inline filters are optional in theSearchConditionExpression.
- Parameters:
searchSchemaElementType- The role of the attribute in the search schema. Valid values:-
HASH- A partition key that partitions the vector index for independent scaling. When specified, you must provide this attribute's value in theSearchConditionExpression. -
INLINE_FILTER- An attribute projected into the vector index for filtering at the storage layer during search. Inline filters are optional in theSearchConditionExpression.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-