Class VertexAiIndexConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.vertex_ai_index.VertexAiIndexConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<VertexAiIndexConfig>
- Enclosing interface:
- VertexAiIndexConfig
@Stability(Stable) public static final class VertexAiIndexConfig.Builder extends Object implements software.amazon.jsii.Builder<VertexAiIndexConfig>
A builder forVertexAiIndexConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VertexAiIndexConfigbuild()Builds the configured instance.VertexAiIndexConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()VertexAiIndexConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()VertexAiIndexConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()VertexAiIndexConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()VertexAiIndexConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()VertexAiIndexConfig.Builderdescription(String description)Sets the value ofVertexAiIndexConfig.getDescription()VertexAiIndexConfig.BuilderdisplayName(String displayName)Sets the value ofVertexAiIndexConfig.getDisplayName()VertexAiIndexConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()VertexAiIndexConfig.Builderid(String id)Sets the value ofVertexAiIndexConfig.getId()VertexAiIndexConfig.BuilderindexUpdateMethod(String indexUpdateMethod)Sets the value ofVertexAiIndexConfig.getIndexUpdateMethod()VertexAiIndexConfig.Builderlabels(Map<String,String> labels)Sets the value ofVertexAiIndexConfig.getLabels()VertexAiIndexConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()VertexAiIndexConfig.Buildermetadata(VertexAiIndexMetadata metadata)Sets the value ofVertexAiIndexConfig.getMetadata()VertexAiIndexConfig.Builderproject(String project)Sets the value ofVertexAiIndexConfig.getProject()VertexAiIndexConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()VertexAiIndexConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()VertexAiIndexConfig.Builderregion(String region)Sets the value ofVertexAiIndexConfig.getRegion()VertexAiIndexConfig.Buildertimeouts(VertexAiIndexTimeouts timeouts)Sets the value ofVertexAiIndexConfig.getTimeouts()
-
-
-
Method Detail
-
displayName
@Stability(Stable) public VertexAiIndexConfig.Builder displayName(String displayName)
Sets the value ofVertexAiIndexConfig.getDisplayName()- Parameters:
displayName- The display name of the Index. This parameter is required. The name can be up to 128 characters long and can consist of any UTF-8 characters. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index#display_name VertexAiIndex#display_name}- Returns:
this
-
description
@Stability(Stable) public VertexAiIndexConfig.Builder description(String description)
Sets the value ofVertexAiIndexConfig.getDescription()- Parameters:
description- The description of the Index. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index#description VertexAiIndex#description}- Returns:
this
-
id
@Stability(Stable) public VertexAiIndexConfig.Builder id(String id)
Sets the value ofVertexAiIndexConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index#id VertexAiIndex#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
indexUpdateMethod
@Stability(Stable) public VertexAiIndexConfig.Builder indexUpdateMethod(String indexUpdateMethod)
Sets the value ofVertexAiIndexConfig.getIndexUpdateMethod()- Parameters:
indexUpdateMethod- The update method to use with this Index. The value must be the followings. If not set, BATCH_UPDATE will be used by default. * BATCH_UPDATE: user can call indexes.patch with files on Cloud Storage of datapoints to update. * STREAM_UPDATE: user can call indexes.upsertDatapoints/DeleteDatapoints to update the Index and the updates will be applied in corresponding DeployedIndexes in nearly real-time. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index#index_update_method VertexAiIndex#index_update_method}- Returns:
this
-
labels
@Stability(Stable) public VertexAiIndexConfig.Builder labels(Map<String,String> labels)
Sets the value ofVertexAiIndexConfig.getLabels()- Parameters:
labels- The labels with user-defined metadata to organize your Indexes. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index#labels VertexAiIndex#labels}- Returns:
this
-
metadata
@Stability(Stable) public VertexAiIndexConfig.Builder metadata(VertexAiIndexMetadata metadata)
Sets the value ofVertexAiIndexConfig.getMetadata()- Parameters:
metadata- metadata block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index#metadata VertexAiIndex#metadata}- Returns:
this
-
project
@Stability(Stable) public VertexAiIndexConfig.Builder project(String project)
Sets the value ofVertexAiIndexConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index#project VertexAiIndex#project}.- Returns:
this
-
region
@Stability(Stable) public VertexAiIndexConfig.Builder region(String region)
Sets the value ofVertexAiIndexConfig.getRegion()- Parameters:
region- The region of the index. eg us-central1. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index#region VertexAiIndex#region}- Returns:
this
-
timeouts
@Stability(Stable) public VertexAiIndexConfig.Builder timeouts(VertexAiIndexTimeouts timeouts)
Sets the value ofVertexAiIndexConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index#timeouts VertexAiIndex#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public VertexAiIndexConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public VertexAiIndexConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public VertexAiIndexConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public VertexAiIndexConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public VertexAiIndexConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public VertexAiIndexConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public VertexAiIndexConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public VertexAiIndexConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public VertexAiIndexConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public VertexAiIndexConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VertexAiIndexConfig>- Returns:
- a new instance of
VertexAiIndexConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-