Class VertexAiIndexEndpointConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.vertex_ai_index_endpoint.VertexAiIndexEndpointConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<VertexAiIndexEndpointConfig>
- Enclosing interface:
- VertexAiIndexEndpointConfig
@Stability(Stable) public static final class VertexAiIndexEndpointConfig.Builder extends Object implements software.amazon.jsii.Builder<VertexAiIndexEndpointConfig>
A builder forVertexAiIndexEndpointConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
@Stability(Stable) public VertexAiIndexEndpointConfig.Builder displayName(String displayName)
Sets the value ofVertexAiIndexEndpointConfig.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_endpoint#display_name VertexAiIndexEndpoint#display_name}- Returns:
this
-
description
@Stability(Stable) public VertexAiIndexEndpointConfig.Builder description(String description)
Sets the value ofVertexAiIndexEndpointConfig.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_endpoint#description VertexAiIndexEndpoint#description}- Returns:
this
-
id
@Stability(Stable) public VertexAiIndexEndpointConfig.Builder id(String id)
Sets the value ofVertexAiIndexEndpointConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index_endpoint#id VertexAiIndexEndpoint#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
-
labels
@Stability(Stable) public VertexAiIndexEndpointConfig.Builder labels(Map<String,String> labels)
Sets the value ofVertexAiIndexEndpointConfig.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_endpoint#labels VertexAiIndexEndpoint#labels}- Returns:
this
-
network
@Stability(Stable) public VertexAiIndexEndpointConfig.Builder network(String network)
Sets the value ofVertexAiIndexEndpointConfig.getNetwork()- Parameters:
network- The full name of the Google Compute Engine network to which the index endpoint should be peered. Private services access must already be configured for the network. If left unspecified, the index endpoint is not peered with any network. Format: 'projects/{project}/global/networks/{network}'. Where '{project}' is a project number, as in '12345', and '{network}' is network name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index_endpoint#network VertexAiIndexEndpoint#network}- Returns:
this
-
privateServiceConnectConfig
@Stability(Stable) public VertexAiIndexEndpointConfig.Builder privateServiceConnectConfig(VertexAiIndexEndpointPrivateServiceConnectConfig privateServiceConnectConfig)
Sets the value ofVertexAiIndexEndpointConfig.getPrivateServiceConnectConfig()- Parameters:
privateServiceConnectConfig- private_service_connect_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index_endpoint#private_service_connect_config VertexAiIndexEndpoint#private_service_connect_config}- Returns:
this
-
project
@Stability(Stable) public VertexAiIndexEndpointConfig.Builder project(String project)
Sets the value ofVertexAiIndexEndpointConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index_endpoint#project VertexAiIndexEndpoint#project}.- Returns:
this
-
publicEndpointEnabled
@Stability(Stable) public VertexAiIndexEndpointConfig.Builder publicEndpointEnabled(Boolean publicEndpointEnabled)
Sets the value ofVertexAiIndexEndpointConfig.getPublicEndpointEnabled()- Parameters:
publicEndpointEnabled- If true, the deployed index will be accessible through public endpoint. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index_endpoint#public_endpoint_enabled VertexAiIndexEndpoint#public_endpoint_enabled}- Returns:
this
-
publicEndpointEnabled
@Stability(Stable) public VertexAiIndexEndpointConfig.Builder publicEndpointEnabled(com.hashicorp.cdktf.IResolvable publicEndpointEnabled)
Sets the value ofVertexAiIndexEndpointConfig.getPublicEndpointEnabled()- Parameters:
publicEndpointEnabled- If true, the deployed index will be accessible through public endpoint. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index_endpoint#public_endpoint_enabled VertexAiIndexEndpoint#public_endpoint_enabled}- Returns:
this
-
region
@Stability(Stable) public VertexAiIndexEndpointConfig.Builder region(String region)
Sets the value ofVertexAiIndexEndpointConfig.getRegion()- Parameters:
region- The region of the index endpoint. eg us-central1. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index_endpoint#region VertexAiIndexEndpoint#region}- Returns:
this
-
timeouts
@Stability(Stable) public VertexAiIndexEndpointConfig.Builder timeouts(VertexAiIndexEndpointTimeouts timeouts)
Sets the value ofVertexAiIndexEndpointConfig.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_endpoint#timeouts VertexAiIndexEndpoint#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public VertexAiIndexEndpointConfig.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 VertexAiIndexEndpointConfig.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 VertexAiIndexEndpointConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public VertexAiIndexEndpointConfig.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 VertexAiIndexEndpointConfig.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 VertexAiIndexEndpointConfig.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 VertexAiIndexEndpointConfig.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 VertexAiIndexEndpointConfig.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 VertexAiIndexEndpointConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public VertexAiIndexEndpointConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VertexAiIndexEndpointConfig>- Returns:
- a new instance of
VertexAiIndexEndpointConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-