Class VertexAiEndpointConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.vertex_ai_endpoint.VertexAiEndpointConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<VertexAiEndpointConfig>
- Enclosing interface:
- VertexAiEndpointConfig
@Stability(Stable) public static final class VertexAiEndpointConfig.Builder extends Object implements software.amazon.jsii.Builder<VertexAiEndpointConfig>
A builder forVertexAiEndpointConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VertexAiEndpointConfigbuild()Builds the configured instance.VertexAiEndpointConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()VertexAiEndpointConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()VertexAiEndpointConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()VertexAiEndpointConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()VertexAiEndpointConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()VertexAiEndpointConfig.Builderdescription(String description)Sets the value ofVertexAiEndpointConfig.getDescription()VertexAiEndpointConfig.BuilderdisplayName(String displayName)Sets the value ofVertexAiEndpointConfig.getDisplayName()VertexAiEndpointConfig.BuilderencryptionSpec(VertexAiEndpointEncryptionSpec encryptionSpec)Sets the value ofVertexAiEndpointConfig.getEncryptionSpec()VertexAiEndpointConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()VertexAiEndpointConfig.Builderid(String id)Sets the value ofVertexAiEndpointConfig.getId()VertexAiEndpointConfig.Builderlabels(Map<String,String> labels)Sets the value ofVertexAiEndpointConfig.getLabels()VertexAiEndpointConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()VertexAiEndpointConfig.Builderlocation(String location)Sets the value ofVertexAiEndpointConfig.getLocation()VertexAiEndpointConfig.Buildername(String name)Sets the value ofVertexAiEndpointConfig.getName()VertexAiEndpointConfig.Buildernetwork(String network)Sets the value ofVertexAiEndpointConfig.getNetwork()VertexAiEndpointConfig.Builderproject(String project)Sets the value ofVertexAiEndpointConfig.getProject()VertexAiEndpointConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()VertexAiEndpointConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()VertexAiEndpointConfig.Builderregion(String region)Sets the value ofVertexAiEndpointConfig.getRegion()VertexAiEndpointConfig.Buildertimeouts(VertexAiEndpointTimeouts timeouts)Sets the value ofVertexAiEndpointConfig.getTimeouts()
-
-
-
Method Detail
-
displayName
@Stability(Stable) public VertexAiEndpointConfig.Builder displayName(String displayName)
Sets the value ofVertexAiEndpointConfig.getDisplayName()- Parameters:
displayName- Required. This parameter is required. The display name of the Endpoint. 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_endpoint#display_name VertexAiEndpoint#display_name}- Returns:
this
-
location
@Stability(Stable) public VertexAiEndpointConfig.Builder location(String location)
Sets the value ofVertexAiEndpointConfig.getLocation()- Parameters:
location- The location for the resource. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_endpoint#location VertexAiEndpoint#location}- Returns:
this
-
name
@Stability(Stable) public VertexAiEndpointConfig.Builder name(String name)
Sets the value ofVertexAiEndpointConfig.getName()- Parameters:
name- The resource name of the Endpoint. This parameter is required. The name must be numeric with no leading zeros and can be at most 10 digits. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_endpoint#name VertexAiEndpoint#name}- Returns:
this
-
description
@Stability(Stable) public VertexAiEndpointConfig.Builder description(String description)
Sets the value ofVertexAiEndpointConfig.getDescription()- Parameters:
description- The description of the Endpoint. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_endpoint#description VertexAiEndpoint#description}- Returns:
this
-
encryptionSpec
@Stability(Stable) public VertexAiEndpointConfig.Builder encryptionSpec(VertexAiEndpointEncryptionSpec encryptionSpec)
Sets the value ofVertexAiEndpointConfig.getEncryptionSpec()- Parameters:
encryptionSpec- encryption_spec block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_endpoint#encryption_spec VertexAiEndpoint#encryption_spec}- Returns:
this
-
id
@Stability(Stable) public VertexAiEndpointConfig.Builder id(String id)
Sets the value ofVertexAiEndpointConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_endpoint#id VertexAiEndpoint#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 VertexAiEndpointConfig.Builder labels(Map<String,String> labels)
Sets the value ofVertexAiEndpointConfig.getLabels()- Parameters:
labels- The labels with user-defined metadata to organize your Endpoints. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. **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_endpoint#labels VertexAiEndpoint#labels}- Returns:
this
-
network
@Stability(Stable) public VertexAiEndpointConfig.Builder network(String network)
Sets the value ofVertexAiEndpointConfig.getNetwork()- Parameters:
network- The full name of the Google Compute Engine network to which the Endpoint should be peered. Private services access must already be configured for the network. If left unspecified, the Endpoint is not peered with any network. Only one of the fields, network or enable_private_service_connect, can be set. 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_endpoint#network VertexAiEndpoint#network}- Returns:
this
-
project
@Stability(Stable) public VertexAiEndpointConfig.Builder project(String project)
Sets the value ofVertexAiEndpointConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_endpoint#project VertexAiEndpoint#project}.- Returns:
this
-
region
@Stability(Stable) public VertexAiEndpointConfig.Builder region(String region)
Sets the value ofVertexAiEndpointConfig.getRegion()- Parameters:
region- The region for the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_endpoint#region VertexAiEndpoint#region}- Returns:
this
-
timeouts
@Stability(Stable) public VertexAiEndpointConfig.Builder timeouts(VertexAiEndpointTimeouts timeouts)
Sets the value ofVertexAiEndpointConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_endpoint#timeouts VertexAiEndpoint#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public VertexAiEndpointConfig.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 VertexAiEndpointConfig.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 VertexAiEndpointConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public VertexAiEndpointConfig.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 VertexAiEndpointConfig.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 VertexAiEndpointConfig.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 VertexAiEndpointConfig.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 VertexAiEndpointConfig.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 VertexAiEndpointConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public VertexAiEndpointConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VertexAiEndpointConfig>- Returns:
- a new instance of
VertexAiEndpointConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-