Class VertexAiDeploymentResourcePoolDedicatedResourcesMachineSpec.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.vertex_ai_deployment_resource_pool.VertexAiDeploymentResourcePoolDedicatedResourcesMachineSpec.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<VertexAiDeploymentResourcePoolDedicatedResourcesMachineSpec>
- Enclosing interface:
- VertexAiDeploymentResourcePoolDedicatedResourcesMachineSpec
@Stability(Stable) public static final class VertexAiDeploymentResourcePoolDedicatedResourcesMachineSpec.Builder extends Object implements software.amazon.jsii.Builder<VertexAiDeploymentResourcePoolDedicatedResourcesMachineSpec>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VertexAiDeploymentResourcePoolDedicatedResourcesMachineSpec.BuilderacceleratorCount(Number acceleratorCount)VertexAiDeploymentResourcePoolDedicatedResourcesMachineSpec.BuilderacceleratorType(String acceleratorType)VertexAiDeploymentResourcePoolDedicatedResourcesMachineSpecbuild()Builds the configured instance.VertexAiDeploymentResourcePoolDedicatedResourcesMachineSpec.BuildermachineType(String machineType)
-
-
-
Method Detail
-
acceleratorCount
@Stability(Stable) public VertexAiDeploymentResourcePoolDedicatedResourcesMachineSpec.Builder acceleratorCount(Number acceleratorCount)
- Parameters:
acceleratorCount- The number of accelerators to attach to the machine. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_deployment_resource_pool#accelerator_count VertexAiDeploymentResourcePool#accelerator_count}- Returns:
this
-
acceleratorType
@Stability(Stable) public VertexAiDeploymentResourcePoolDedicatedResourcesMachineSpec.Builder acceleratorType(String acceleratorType)
- Parameters:
acceleratorType- The type of accelerator(s) that may be attached to the machine as per accelerator_count. See possible values here. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_deployment_resource_pool#accelerator_type VertexAiDeploymentResourcePool#accelerator_type}- Returns:
this
-
machineType
@Stability(Stable) public VertexAiDeploymentResourcePoolDedicatedResourcesMachineSpec.Builder machineType(String machineType)
- Parameters:
machineType- The type of the machine. See the list of machine types supported for prediction. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_deployment_resource_pool#machine_type VertexAiDeploymentResourcePool#machine_type}- Returns:
this
-
build
@Stability(Stable) public VertexAiDeploymentResourcePoolDedicatedResourcesMachineSpec build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VertexAiDeploymentResourcePoolDedicatedResourcesMachineSpec>- Returns:
- a new instance of
VertexAiDeploymentResourcePoolDedicatedResourcesMachineSpec - Throws:
NullPointerException- if any required attribute was not provided
-
-