Class DedicatedAiCluster.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeai.model.DedicatedAiCluster.Builder
-
- Enclosing class:
- DedicatedAiCluster
public static class DedicatedAiCluster.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DedicatedAiCluster
build()
DedicatedAiCluster.Builder
capacity(DedicatedAiClusterCapacity capacity)
DedicatedAiCluster.Builder
compartmentId(String compartmentId)
The compartment OCID to create the dedicated AI cluster in.DedicatedAiCluster.Builder
copy(DedicatedAiCluster model)
DedicatedAiCluster.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.DedicatedAiCluster.Builder
description(String description)
An optional description of the dedicated AI cluster.DedicatedAiCluster.Builder
displayName(String displayName)
A user-friendly name.DedicatedAiCluster.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.DedicatedAiCluster.Builder
id(String id)
The OCID of the dedicated AI cluster.DedicatedAiCluster.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state with detail that can provide actionable information.DedicatedAiCluster.Builder
lifecycleState(DedicatedAiCluster.LifecycleState lifecycleState)
The current state of the dedicated AI cluster.DedicatedAiCluster.Builder
previousState(DedicatedAiCluster previousState)
DedicatedAiCluster.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.DedicatedAiCluster.Builder
timeCreated(Date timeCreated)
The date and time the dedicated AI cluster was created, in the format defined by RFC 3339DedicatedAiCluster.Builder
timeUpdated(Date timeUpdated)
The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339DedicatedAiCluster.Builder
type(DedicatedAiCluster.Type type)
The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.DedicatedAiCluster.Builder
unitCount(Integer unitCount)
The number of dedicated units in this AI cluster.DedicatedAiCluster.Builder
unitShape(DedicatedAiCluster.UnitShape unitShape)
The shape of dedicated unit in this AI cluster.
-
-
-
Method Detail
-
id
public DedicatedAiCluster.Builder id(String id)
The OCID of the dedicated AI cluster.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public DedicatedAiCluster.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 DedicatedAiCluster.Builder description(String description)
An optional description of the dedicated AI cluster.- Parameters:
description
- the value to set- Returns:
- this builder
-
type
public DedicatedAiCluster.Builder type(DedicatedAiCluster.Type type)
The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.- Parameters:
type
- the value to set- Returns:
- this builder
-
compartmentId
public DedicatedAiCluster.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 DedicatedAiCluster.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 DedicatedAiCluster.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 DedicatedAiCluster.Builder lifecycleState(DedicatedAiCluster.LifecycleState lifecycleState)
The current state of the dedicated AI cluster.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public DedicatedAiCluster.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state with detail that can provide actionable information.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
unitCount
public DedicatedAiCluster.Builder unitCount(Integer unitCount)
The number of dedicated units in this AI cluster.- Parameters:
unitCount
- the value to set- Returns:
- this builder
-
unitShape
public DedicatedAiCluster.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 DedicatedAiCluster.Builder capacity(DedicatedAiClusterCapacity capacity)
-
previousState
public DedicatedAiCluster.Builder previousState(DedicatedAiCluster previousState)
-
freeformTags
public DedicatedAiCluster.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 DedicatedAiCluster.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 DedicatedAiCluster.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 DedicatedAiCluster build()
-
copy
public DedicatedAiCluster.Builder copy(DedicatedAiCluster model)
-
-