Package com.oracle.bmc.ailanguage.model
Class Model.Builder
- java.lang.Object
- 
- com.oracle.bmc.ailanguage.model.Model.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Modelbuild()Model.BuildercompartmentId(String compartmentId)The OCID for the model’s compartment.Model.Buildercopy(Model model)Model.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Model.Builderdescription(String description)A short description of the Model.Model.BuilderdisplayName(String displayName)A user-friendly display name for the resource.Model.BuilderevaluationResults(EvaluationResults evaluationResults)Model.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.Model.Builderid(String id)Unique identifier model OCID of a model that is immutable on creationModel.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.Model.BuilderlifecycleState(Model.LifecycleState lifecycleState)The state of the model.Model.BuildermodelDetails(ModelDetails modelDetails)Model.BuilderprojectId(String projectId)The OCID of the project to associate with the model.Model.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.Model.BuildertestStrategy(TestStrategy testStrategy)Model.BuildertimeCreated(Date timeCreated)The time the the model was created.Model.BuildertimeUpdated(Date timeUpdated)The time the model was updated.Model.BuildertrainingDataset(DatasetDetails trainingDataset)Model.Builderversion(String version)For pre trained models this will identify model type version used for model creation For custom this will identify model type version used for model creation and custom model on which training has to be done «service»::«service-name»_«model-type-version»::«custom modelonwhichthistraininghastobedone» ex: ai-lang::NER_V1::CUSTOM-V0
 
- 
- 
- 
Method Detail- 
idpublic Model.Builder id(String id) Unique identifier model OCID of a model that is immutable on creation- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Model.Builder displayName(String displayName) A user-friendly display name for the resource.It does not have to be unique and can be modified. Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Model.Builder compartmentId(String compartmentId) The OCID for the model’s compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
projectIdpublic Model.Builder projectId(String projectId) The OCID of the project to associate with the model.- Parameters:
- projectId- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic Model.Builder description(String description) A short description of the Model.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
modelDetailspublic Model.Builder modelDetails(ModelDetails modelDetails) 
 - 
timeCreatedpublic Model.Builder timeCreated(Date timeCreated) The time the the model was created.An RFC3339 formatted datetime string. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic Model.Builder timeUpdated(Date timeUpdated) The time the model was updated.An RFC3339 formatted datetime string. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Model.Builder lifecycleState(Model.LifecycleState lifecycleState) The state of the model.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic Model.Builder lifecycleDetails(String lifecycleDetails) A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in failed state. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
trainingDatasetpublic Model.Builder trainingDataset(DatasetDetails trainingDataset) 
 - 
evaluationResultspublic Model.Builder evaluationResults(EvaluationResults evaluationResults) 
 - 
testStrategypublic Model.Builder testStrategy(TestStrategy testStrategy) 
 - 
versionpublic Model.Builder version(String version) For pre trained models this will identify model type version used for model creation For custom this will identify model type version used for model creation and custom model on which training has to be done «service»::«service-name»_«model-type-version»::«custom modelonwhichthistraininghastobedone» ex: ai-lang::NER_V1::CUSTOM-V0- Parameters:
- version- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic Model.Builder freeformTags(Map<String,String> freeformTags) Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic Model.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic Model.Builder systemTags(Map<String,Map<String,Object>> systemTags) Usage of system tag keys.These predefined keys are scoped to namespaces. Example: { “orcl-cloud”: { “free-tier-retained”: “true” } } - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic Model build() 
 - 
copypublic Model.Builder copy(Model model) 
 
- 
 
-