Class VertexAiIndexEndpointDeployedIndexDedicatedResources.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.vertex_ai_index_endpoint_deployed_index.VertexAiIndexEndpointDeployedIndexDedicatedResources.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<VertexAiIndexEndpointDeployedIndexDedicatedResources>
- Enclosing interface:
- VertexAiIndexEndpointDeployedIndexDedicatedResources
@Stability(Stable) public static final class VertexAiIndexEndpointDeployedIndexDedicatedResources.Builder extends Object implements software.amazon.jsii.Builder<VertexAiIndexEndpointDeployedIndexDedicatedResources>
A builder forVertexAiIndexEndpointDeployedIndexDedicatedResources
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VertexAiIndexEndpointDeployedIndexDedicatedResourcesbuild()Builds the configured instance.VertexAiIndexEndpointDeployedIndexDedicatedResources.BuildermachineSpec(VertexAiIndexEndpointDeployedIndexDedicatedResourcesMachineSpec machineSpec)Sets the value ofVertexAiIndexEndpointDeployedIndexDedicatedResources.getMachineSpec()VertexAiIndexEndpointDeployedIndexDedicatedResources.BuildermaxReplicaCount(Number maxReplicaCount)VertexAiIndexEndpointDeployedIndexDedicatedResources.BuilderminReplicaCount(Number minReplicaCount)
-
-
-
Method Detail
-
machineSpec
@Stability(Stable) public VertexAiIndexEndpointDeployedIndexDedicatedResources.Builder machineSpec(VertexAiIndexEndpointDeployedIndexDedicatedResourcesMachineSpec machineSpec)
Sets the value ofVertexAiIndexEndpointDeployedIndexDedicatedResources.getMachineSpec()- Parameters:
machineSpec- machine_spec block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index_endpoint_deployed_index#machine_spec VertexAiIndexEndpointDeployedIndex#machine_spec}- Returns:
this
-
minReplicaCount
@Stability(Stable) public VertexAiIndexEndpointDeployedIndexDedicatedResources.Builder minReplicaCount(Number minReplicaCount)
- Parameters:
minReplicaCount- The minimum number of machine replicas this DeployedModel will be always deployed on. This parameter is required. This value must be greater than or equal to 1. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index_endpoint_deployed_index#min_replica_count VertexAiIndexEndpointDeployedIndex#min_replica_count}- Returns:
this
-
maxReplicaCount
@Stability(Stable) public VertexAiIndexEndpointDeployedIndexDedicatedResources.Builder maxReplicaCount(Number maxReplicaCount)
- Parameters:
maxReplicaCount- The maximum number of replicas this DeployedModel may be deployed on when the traffic against it increases. If maxReplicaCount is not set, the default value is minReplicaCount Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index_endpoint_deployed_index#max_replica_count VertexAiIndexEndpointDeployedIndex#max_replica_count}- Returns:
this
-
build
@Stability(Stable) public VertexAiIndexEndpointDeployedIndexDedicatedResources build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VertexAiIndexEndpointDeployedIndexDedicatedResources>- Returns:
- a new instance of
VertexAiIndexEndpointDeployedIndexDedicatedResources - Throws:
NullPointerException- if any required attribute was not provided
-
-