public static class DedicatedAiClusterSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DedicatedAiClusterSummary |
build() |
DedicatedAiClusterSummary.Builder |
capacity(DedicatedAiClusterCapacity capacity) |
DedicatedAiClusterSummary.Builder |
compartmentId(String compartmentId)
The compartment OCID to create the dedicated AI cluster in.
|
DedicatedAiClusterSummary.Builder |
copy(DedicatedAiClusterSummary model) |
DedicatedAiClusterSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DedicatedAiClusterSummary.Builder |
description(String description)
An optional description of the dedicated AI cluster.
|
DedicatedAiClusterSummary.Builder |
displayName(String displayName)
A user-friendly name.
|
DedicatedAiClusterSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
DedicatedAiClusterSummary.Builder |
id(String id)
The OCID
of the dedicated AI cluster.
|
DedicatedAiClusterSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state of the dedicated AI cluster in more detail that
can provide actionable information.
|
DedicatedAiClusterSummary.Builder |
lifecycleState(DedicatedAiCluster.LifecycleState lifecycleState)
The current state of the dedicated AI cluster.
|
DedicatedAiClusterSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
DedicatedAiClusterSummary.Builder |
timeCreated(Date timeCreated)
The date and time the dedicated AI cluster was created, in the format defined by RFC
3339.
|
DedicatedAiClusterSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the dedicated AI cluster was updated, in the format defined by RFC
3339.
|
DedicatedAiClusterSummary.Builder |
type(DedicatedAiCluster.Type type)
The dedicated AI cluster type indicating whether this is a fine-tuning/training processor
or hosting/inference processor.
|
DedicatedAiClusterSummary.Builder |
unitCount(Integer unitCount)
The number of dedicated units in this AI cluster.
|
DedicatedAiClusterSummary.Builder |
unitShape(DedicatedAiCluster.UnitShape unitShape)
The shape of dedicated unit in this AI cluster.
|
public DedicatedAiClusterSummary.Builder id(String id)
The OCID of the dedicated AI cluster.
id
- the value to setpublic DedicatedAiClusterSummary.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable.
displayName
- the value to setpublic DedicatedAiClusterSummary.Builder description(String description)
An optional description of the dedicated AI cluster.
description
- the value to setpublic 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
type
- the value to setpublic DedicatedAiClusterSummary.Builder compartmentId(String compartmentId)
The compartment OCID to create the dedicated AI cluster in.
compartmentId
- the value to setpublic DedicatedAiClusterSummary.Builder timeCreated(Date timeCreated)
The date and time the dedicated AI cluster was created, in the format defined by RFC 3339.
timeCreated
- the value to setpublic DedicatedAiClusterSummary.Builder timeUpdated(Date timeUpdated)
The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339.
timeUpdated
- the value to setpublic 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
lifecycleState
- the value to setpublic DedicatedAiClusterSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state of the dedicated AI cluster in more detail that can provide actionable information.
lifecycleDetails
- the value to setpublic DedicatedAiClusterSummary.Builder unitCount(Integer unitCount)
The number of dedicated units in this AI cluster.
unitCount
- the value to setpublic DedicatedAiClusterSummary.Builder unitShape(DedicatedAiCluster.UnitShape unitShape)
The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
unitShape
- the value to setpublic DedicatedAiClusterSummary.Builder capacity(DedicatedAiClusterCapacity capacity)
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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic DedicatedAiClusterSummary build()
public DedicatedAiClusterSummary.Builder copy(DedicatedAiClusterSummary model)
Copyright © 2016–2024. All rights reserved.