Class DedicatedAiClusterSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeai.model.DedicatedAiClusterSummary.Builder
-
- Enclosing class:
- DedicatedAiClusterSummary
public static class DedicatedAiClusterSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DedicatedAiClusterSummarybuild()DedicatedAiClusterSummary.Buildercapacity(DedicatedAiClusterCapacity capacity)DedicatedAiClusterSummary.BuildercompartmentId(String compartmentId)The compartment OCID to create the dedicated AI cluster in.DedicatedAiClusterSummary.Buildercopy(DedicatedAiClusterSummary model)DedicatedAiClusterSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DedicatedAiClusterSummary.Builderdescription(String description)An optional description of the dedicated AI cluster.DedicatedAiClusterSummary.BuilderdisplayName(String displayName)A user-friendly name.DedicatedAiClusterSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.DedicatedAiClusterSummary.Builderid(String id)The OCID of the dedicated AI cluster.DedicatedAiClusterSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state of the dedicated AI cluster in more detail that can provide actionable information.DedicatedAiClusterSummary.BuilderlifecycleState(DedicatedAiCluster.LifecycleState lifecycleState)The current state of the dedicated AI cluster.DedicatedAiClusterSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.DedicatedAiClusterSummary.BuildertimeCreated(Date timeCreated)The date and time the dedicated AI cluster was created, in the format defined by RFC 3339.DedicatedAiClusterSummary.BuildertimeUpdated(Date timeUpdated)The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339.DedicatedAiClusterSummary.Buildertype(DedicatedAiCluster.Type type)The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.DedicatedAiClusterSummary.BuilderunitCount(Integer unitCount)The number of dedicated units in this AI cluster.DedicatedAiClusterSummary.BuilderunitShape(DedicatedAiCluster.UnitShape unitShape)The shape of dedicated unit in this AI cluster.
-
-
-
Method Detail
-
id
public DedicatedAiClusterSummary.Builder id(String id)
The OCID of the dedicated AI cluster.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public DedicatedAiClusterSummary.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 DedicatedAiClusterSummary.Builder description(String description)
An optional description of the dedicated AI cluster.- Parameters:
description- the value to set- Returns:
- this builder
-
type
public DedicatedAiClusterSummary.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 DedicatedAiClusterSummary.Builder compartmentId(String compartmentId)
The compartment OCID to create the dedicated AI cluster in.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
timeCreated
public DedicatedAiClusterSummary.Builder timeCreated(Date timeCreated)
The date and time the dedicated AI cluster was created, in the format defined by RFC 3339.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public DedicatedAiClusterSummary.Builder timeUpdated(Date timeUpdated)
The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public DedicatedAiClusterSummary.Builder lifecycleState(DedicatedAiCluster.LifecycleState lifecycleState)
The current state of the dedicated AI cluster.Allowed values are: - CREATING - ACTIVE - UPDATING - DELETING - DELETED - FAILED - NEEDS_ATTENTION
- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public DedicatedAiClusterSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state of the dedicated AI cluster in more detail that can provide actionable information.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
unitCount
public DedicatedAiClusterSummary.Builder unitCount(Integer unitCount)
The number of dedicated units in this AI cluster.- Parameters:
unitCount- the value to set- Returns:
- this builder
-
unitShape
public DedicatedAiClusterSummary.Builder unitShape(DedicatedAiCluster.UnitShape unitShape)
The shape of dedicated unit in this AI cluster.The underlying hardware configuration is hidden from customers.
- Parameters:
unitShape- the value to set- Returns:
- this builder
-
capacity
public DedicatedAiClusterSummary.Builder capacity(DedicatedAiClusterCapacity capacity)
-
freeformTags
public DedicatedAiClusterSummary.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 DedicatedAiClusterSummary.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
-
systemTags
public DedicatedAiClusterSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public DedicatedAiClusterSummary build()
-
copy
public DedicatedAiClusterSummary.Builder copy(DedicatedAiClusterSummary model)
-
-