Class VectorIndexConfig.Builder
java.lang.Object
com.oracle.database.selectai.model.VectorIndexConfig.Builder
- Enclosing class:
VectorIndexConfig
Builder for
VectorIndexConfig.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds immutable vector index configuration.description(String description) Sets the vector index description.status(VectorIndexConfig.Status status) Sets the initial status.Sets the initial status from text.vectorIndexAttributes(VectorIndexAttributes vectorIndexAttributes) Sets the vector index attributes payload.waitForCompletion(Boolean waitForCompletion) Sets whether create should wait for index population completion.
-
Method Details
-
vectorIndexAttributes
Sets the vector index attributes payload.- Parameters:
vectorIndexAttributes- vector index attributes, ornull- Returns:
- this builder instance
-
status
Sets the initial status from text.- Parameters:
status- status text, enabled or disabled- Returns:
- this builder instance
-
status
Sets the initial status.- Parameters:
status- vector index status- Returns:
- this builder instance
-
description
Sets the vector index description.- Parameters:
description- vector index description- Returns:
- this builder instance
-
waitForCompletion
Sets whether create should wait for index population completion.- Parameters:
waitForCompletion- wait-for-completion flag- Returns:
- this builder instance
-
build
Builds immutable vector index configuration.- Returns:
- immutable VectorIndexConfig built from current builder state
-