Class VertexAiIndexMetadata.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.vertex_ai_index.VertexAiIndexMetadata.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<VertexAiIndexMetadata>
- Enclosing interface:
- VertexAiIndexMetadata
@Stability(Stable) public static final class VertexAiIndexMetadata.Builder extends Object implements software.amazon.jsii.Builder<VertexAiIndexMetadata>
A builder forVertexAiIndexMetadata
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VertexAiIndexMetadatabuild()Builds the configured instance.VertexAiIndexMetadata.Builderconfig(VertexAiIndexMetadataConfig config)Sets the value ofVertexAiIndexMetadata.getConfig()VertexAiIndexMetadata.BuildercontentsDeltaUri(String contentsDeltaUri)Sets the value ofVertexAiIndexMetadata.getContentsDeltaUri()VertexAiIndexMetadata.BuilderisCompleteOverwrite(com.hashicorp.cdktf.IResolvable isCompleteOverwrite)Sets the value ofVertexAiIndexMetadata.getIsCompleteOverwrite()VertexAiIndexMetadata.BuilderisCompleteOverwrite(Boolean isCompleteOverwrite)Sets the value ofVertexAiIndexMetadata.getIsCompleteOverwrite()
-
-
-
Method Detail
-
contentsDeltaUri
@Stability(Stable) public VertexAiIndexMetadata.Builder contentsDeltaUri(String contentsDeltaUri)
Sets the value ofVertexAiIndexMetadata.getContentsDeltaUri()- Parameters:
contentsDeltaUri- Allows inserting, updating or deleting the contents of the Matching Engine Index. This parameter is required. The string must be a valid Cloud Storage directory path. If this field is set when calling IndexService.UpdateIndex, then no other Index field can be also updated as part of the same call. The expected structure and format of the files this URI points to is described at https://cloud.google.com/vertex-ai/docs/matching-engine/using-matching-engine#input-data-format Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index#contents_delta_uri VertexAiIndex#contents_delta_uri}- Returns:
this
-
config
@Stability(Stable) public VertexAiIndexMetadata.Builder config(VertexAiIndexMetadataConfig config)
Sets the value ofVertexAiIndexMetadata.getConfig()- Parameters:
config- config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index#config VertexAiIndex#config}- Returns:
this
-
isCompleteOverwrite
@Stability(Stable) public VertexAiIndexMetadata.Builder isCompleteOverwrite(Boolean isCompleteOverwrite)
Sets the value ofVertexAiIndexMetadata.getIsCompleteOverwrite()- Parameters:
isCompleteOverwrite- If this field is set together with contentsDeltaUri when calling IndexService.UpdateIndex, then existing content of the Index will be replaced by the data from the contentsDeltaUri. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index#is_complete_overwrite VertexAiIndex#is_complete_overwrite}- Returns:
this
-
isCompleteOverwrite
@Stability(Stable) public VertexAiIndexMetadata.Builder isCompleteOverwrite(com.hashicorp.cdktf.IResolvable isCompleteOverwrite)
Sets the value ofVertexAiIndexMetadata.getIsCompleteOverwrite()- Parameters:
isCompleteOverwrite- If this field is set together with contentsDeltaUri when calling IndexService.UpdateIndex, then existing content of the Index will be replaced by the data from the contentsDeltaUri. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index#is_complete_overwrite VertexAiIndex#is_complete_overwrite}- Returns:
this
-
build
@Stability(Stable) public VertexAiIndexMetadata build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VertexAiIndexMetadata>- Returns:
- a new instance of
VertexAiIndexMetadata - Throws:
NullPointerException- if any required attribute was not provided
-
-