Package com.oracle.bmc.dif.model
Class GenAiDetail.Builder
- java.lang.Object
-
- com.oracle.bmc.dif.model.GenAiDetail.Builder
-
- Enclosing class:
- GenAiDetail
public static class GenAiDetail.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenAiDetail.BuilderbaseModel(String baseModel)Name of the base model.GenAiDetailbuild()GenAiDetail.BuilderclusterType(ClusterType clusterType)The dedicated AI cluster type.GenAiDetail.Buildercopy(GenAiDetail model)GenAiDetail.Builderendpoints(List<EndpointDetails> endpoints)List of endpoints to provision for the GENAI cluster.GenAiDetail.BuilderinstanceId(String instanceId)Id for the GGCS instance to be provisioned.GenAiDetail.BuilderociRegion(String ociRegion)Region on which the cluster end endpoint will be provisioned.GenAiDetail.BuilderunitCount(Integer unitCount)No of replicas of base model to be used for hosting.
-
-
-
Method Detail
-
instanceId
public GenAiDetail.Builder instanceId(String instanceId)
Id for the GGCS instance to be provisioned.- Parameters:
instanceId- the value to set- Returns:
- this builder
-
clusterType
public GenAiDetail.Builder clusterType(ClusterType clusterType)
The dedicated AI cluster type.- Parameters:
clusterType- the value to set- Returns:
- this builder
-
baseModel
public GenAiDetail.Builder baseModel(String baseModel)
Name of the base model.- Parameters:
baseModel- the value to set- Returns:
- this builder
-
ociRegion
public GenAiDetail.Builder ociRegion(String ociRegion)
Region on which the cluster end endpoint will be provisioned.- Parameters:
ociRegion- the value to set- Returns:
- this builder
-
unitCount
public GenAiDetail.Builder unitCount(Integer unitCount)
No of replicas of base model to be used for hosting.- Parameters:
unitCount- the value to set- Returns:
- this builder
-
endpoints
public GenAiDetail.Builder endpoints(List<EndpointDetails> endpoints)
List of endpoints to provision for the GENAI cluster.- Parameters:
endpoints- the value to set- Returns:
- this builder
-
build
public GenAiDetail build()
-
copy
public GenAiDetail.Builder copy(GenAiDetail model)
-
-