public static class CreateDedicatedAiClusterDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateDedicatedAiClusterDetails.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable.
displayName
- the value to setpublic CreateDedicatedAiClusterDetails.Builder description(String description)
An optional description of the dedicated AI cluster.
description
- the value to setpublic 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
type
- the value to setpublic CreateDedicatedAiClusterDetails.Builder compartmentId(String compartmentId)
The compartment OCID to create the dedicated AI cluster in.
compartmentId
- the value to setpublic CreateDedicatedAiClusterDetails.Builder unitCount(Integer unitCount)
The number of dedicated units in this AI cluster.
unitCount
- the value to setpublic 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 - EMBED_COHERE - LLAMA2_70 - LARGE_GENERIC - LARGE_COHERE_V2_2
unitShape
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic CreateDedicatedAiClusterDetails build()
public CreateDedicatedAiClusterDetails.Builder copy(CreateDedicatedAiClusterDetails model)
Copyright © 2016–2024. All rights reserved.