Class CreateDedicatedAiClusterDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeai.model.CreateDedicatedAiClusterDetails.Builder
-
- Enclosing class:
- CreateDedicatedAiClusterDetails
public static class CreateDedicatedAiClusterDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public CreateDedicatedAiClusterDetails.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public CreateDedicatedAiClusterDetails.Builder description(String description)
An optional description of the dedicated AI cluster.- Parameters:
description- the value to set- Returns:
- this builder
-
type
public CreateDedicatedAiClusterDetails.Builder type(DedicatedAiCluster.Type type)
The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.Allowed values are: - HOSTING - FINE_TUNING
- Parameters:
type- the value to set- Returns:
- this builder
-
compartmentId
public CreateDedicatedAiClusterDetails.Builder compartmentId(String compartmentId)
The compartment OCID to create the dedicated AI cluster in.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
unitCount
public CreateDedicatedAiClusterDetails.Builder unitCount(Integer unitCount)
The number of dedicated units in this AI cluster.- Parameters:
unitCount- the value to set- Returns:
- this builder
-
unitShape
public CreateDedicatedAiClusterDetails.Builder unitShape(DedicatedAiCluster.UnitShape unitShape)
The shape of dedicated unit in this AI cluster.The underlying hardware configuration is hidden from customers.
Allowed values are: - LARGE_COHERE - LARGE_COHERE_V2 - SMALL_COHERE - SMALL_COHERE_V2 - SMALL_COHERE_4 - EMBED_COHERE - LLAMA2_70 - LARGE_GENERIC - LARGE_COHERE_V2_2 - LARGE_GENERIC_4 - SMALL_GENERIC_V2 - LARGE_GENERIC_2 - LARGE_COHERE_V3 - RERANK_COHERE - SMALL_GENERIC_V1 - MEDIUM_GENERIC_V1 - LARGE_GENERIC_V1 - A10_X1 - A10_X2 - A10_X4 - A100_40G_X1 - A100_40G_X2 - A100_40G_X4 - A100_40G_X8 - A100_80G_X1 - A100_80G_X2 - A100_80G_X4 - A100_80G_X8 - H100_X1 - H100_X2 - H100_X4 - H100_X8 - H200_X1 - H200_X2 - H200_X4 - H200_X8
The following shapes can only be used to deploy imported models: - A10_X1, A10_X2, A10_X4 - A100_40G_X1, A100_40G_X2, A100_40G_X4, A100_40G_X8 - A100_80G_X1, A100_80G_X2, A100_80G_X4, A100_80G_X8 - H100_X1, H100_X2, H100_X4, H100_X8 - H200_X1, H200_X2, H200_X4, H200_X8
- Parameters:
unitShape- the value to set- Returns:
- this builder
-
freeformTags
public CreateDedicatedAiClusterDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public CreateDedicatedAiClusterDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public CreateDedicatedAiClusterDetails build()
-
copy
public CreateDedicatedAiClusterDetails.Builder copy(CreateDedicatedAiClusterDetails model)
-
-