Class VertexAiIndexMetadataConfigAlgorithmConfigTreeAhConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.vertex_ai_index.VertexAiIndexMetadataConfigAlgorithmConfigTreeAhConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<VertexAiIndexMetadataConfigAlgorithmConfigTreeAhConfig>
- Enclosing interface:
- VertexAiIndexMetadataConfigAlgorithmConfigTreeAhConfig
@Stability(Stable) public static final class VertexAiIndexMetadataConfigAlgorithmConfigTreeAhConfig.Builder extends Object implements software.amazon.jsii.Builder<VertexAiIndexMetadataConfigAlgorithmConfigTreeAhConfig>
A builder forVertexAiIndexMetadataConfigAlgorithmConfigTreeAhConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VertexAiIndexMetadataConfigAlgorithmConfigTreeAhConfigbuild()Builds the configured instance.VertexAiIndexMetadataConfigAlgorithmConfigTreeAhConfig.BuilderleafNodeEmbeddingCount(Number leafNodeEmbeddingCount)VertexAiIndexMetadataConfigAlgorithmConfigTreeAhConfig.BuilderleafNodesToSearchPercent(Number leafNodesToSearchPercent)
-
-
-
Method Detail
-
leafNodeEmbeddingCount
@Stability(Stable) public VertexAiIndexMetadataConfigAlgorithmConfigTreeAhConfig.Builder leafNodeEmbeddingCount(Number leafNodeEmbeddingCount)
Sets the value ofVertexAiIndexMetadataConfigAlgorithmConfigTreeAhConfig.getLeafNodeEmbeddingCount()- Parameters:
leafNodeEmbeddingCount- Number of embeddings on each leaf node. The default value is 1000 if not set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index#leaf_node_embedding_count VertexAiIndex#leaf_node_embedding_count}- Returns:
this
-
leafNodesToSearchPercent
@Stability(Stable) public VertexAiIndexMetadataConfigAlgorithmConfigTreeAhConfig.Builder leafNodesToSearchPercent(Number leafNodesToSearchPercent)
Sets the value ofVertexAiIndexMetadataConfigAlgorithmConfigTreeAhConfig.getLeafNodesToSearchPercent()- Parameters:
leafNodesToSearchPercent- The default percentage of leaf nodes that any query may be searched. Must be in range 1-100, inclusive. The default value is 10 (means 10%) if not set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index#leaf_nodes_to_search_percent VertexAiIndex#leaf_nodes_to_search_percent}- Returns:
this
-
build
@Stability(Stable) public VertexAiIndexMetadataConfigAlgorithmConfigTreeAhConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VertexAiIndexMetadataConfigAlgorithmConfigTreeAhConfig>- Returns:
- a new instance of
VertexAiIndexMetadataConfigAlgorithmConfigTreeAhConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-