Class CreateDedicatedAiClusterDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.generativeai.model.CreateDedicatedAiClusterDetails.Builder
 
- 
- Enclosing class:
- CreateDedicatedAiClusterDetails
 
 public static class CreateDedicatedAiClusterDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
displayNamepublic 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
 
 - 
descriptionpublic CreateDedicatedAiClusterDetails.Builder description(String description) An optional description of the dedicated AI cluster.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
typepublic 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
 
 - 
compartmentIdpublic CreateDedicatedAiClusterDetails.Builder compartmentId(String compartmentId) The compartment OCID to create the dedicated AI cluster in.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
unitCountpublic CreateDedicatedAiClusterDetails.Builder unitCount(Integer unitCount) The number of dedicated units in this AI cluster.- Parameters:
- unitCount- the value to set
- Returns:
- this builder
 
 - 
unitShapepublic 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 - Parameters:
- unitShape- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
buildpublic CreateDedicatedAiClusterDetails build() 
 - 
copypublic CreateDedicatedAiClusterDetails.Builder copy(CreateDedicatedAiClusterDetails model) 
 
- 
 
-