public static class CreateModelDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateModelDetails.Builder |
aliasName(String aliasName)
the alias name of the model.
|
CreateModelDetails |
build() |
CreateModelDetails.Builder |
compartmentId(String compartmentId)
The compartment identifier.
|
CreateModelDetails.Builder |
componentModels(List<ComponentModel> componentModels)
The OCID
list of active custom Key Value models that need to be composed.
|
CreateModelDetails.Builder |
copy(CreateModelDetails model) |
CreateModelDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateModelDetails.Builder |
description(String description)
An optional description of the model.
|
CreateModelDetails.Builder |
displayName(String displayName)
A human-friendly name for the model, which can be changed.
|
CreateModelDetails.Builder |
freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope.
|
CreateModelDetails.Builder |
isQuickMode(Boolean isQuickMode)
Set to true when experimenting with a new model type or dataset, so the model training is
quick, with a predefined low number of passes through the training data.
|
CreateModelDetails.Builder |
maxTrainingTimeInHours(Double maxTrainingTimeInHours)
The maximum model training time in hours, expressed as a decimal fraction.
|
CreateModelDetails.Builder |
modelType(Model.ModelType modelType)
The type of the Document model.
|
CreateModelDetails.Builder |
modelVersion(String modelVersion)
The model version
|
CreateModelDetails.Builder |
projectId(String projectId)
The OCID
of the project that contains the model.
|
CreateModelDetails.Builder |
testingDataset(Dataset testingDataset) |
CreateModelDetails.Builder |
trainingDataset(Dataset trainingDataset) |
CreateModelDetails.Builder |
validationDataset(Dataset validationDataset) |
public CreateModelDetails.Builder displayName(String displayName)
A human-friendly name for the model, which can be changed.
displayName
- the value to setpublic CreateModelDetails.Builder description(String description)
An optional description of the model.
description
- the value to setpublic CreateModelDetails.Builder modelVersion(String modelVersion)
The model version
modelVersion
- the value to setpublic CreateModelDetails.Builder modelType(Model.ModelType modelType)
The type of the Document model.
modelType
- the value to setpublic CreateModelDetails.Builder compartmentId(String compartmentId)
The compartment identifier.
compartmentId
- the value to setpublic CreateModelDetails.Builder isQuickMode(Boolean isQuickMode)
Set to true when experimenting with a new model type or dataset, so the model training is quick, with a predefined low number of passes through the training data.
isQuickMode
- the value to setpublic CreateModelDetails.Builder maxTrainingTimeInHours(Double maxTrainingTimeInHours)
The maximum model training time in hours, expressed as a decimal fraction.
maxTrainingTimeInHours
- the value to setpublic CreateModelDetails.Builder trainingDataset(Dataset trainingDataset)
public CreateModelDetails.Builder testingDataset(Dataset testingDataset)
public CreateModelDetails.Builder validationDataset(Dataset validationDataset)
public CreateModelDetails.Builder componentModels(List<ComponentModel> componentModels)
The OCID list of active custom Key Value models that need to be composed.
componentModels
- the value to setpublic CreateModelDetails.Builder aliasName(String aliasName)
the alias name of the model.
aliasName
- the value to setpublic CreateModelDetails.Builder projectId(String projectId)
The OCID of the project that contains the model.
projectId
- the value to setpublic CreateModelDetails.Builder freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope. It
exists for cross-compatibility only. For example: {"bar-key": "value"}
freeformTags
- the value to setpublic CreateModelDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For
example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic CreateModelDetails build()
public CreateModelDetails.Builder copy(CreateModelDetails model)
Copyright © 2016–2024. All rights reserved.