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