public static class CreateModelDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateModelDetails |
build() |
CreateModelDetails.Builder |
compartmentId(String compartmentId)
The compartment identifier.
|
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 |
maxTrainingDurationInHours(Double maxTrainingDurationInHours)
The maximum model training duration in hours, expressed as a decimal fraction.
|
CreateModelDetails.Builder |
modelType(Model.ModelType modelType)
Which type of Vision model this is.
|
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)
Which type of Vision model this is.
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 maxTrainingDurationInHours(Double maxTrainingDurationInHours)
The maximum model training duration in hours, expressed as a decimal fraction.
maxTrainingDurationInHours
- the value to setpublic CreateModelDetails.Builder trainingDataset(Dataset trainingDataset)
public CreateModelDetails.Builder testingDataset(Dataset testingDataset)
public CreateModelDetails.Builder validationDataset(Dataset validationDataset)
public 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.