public static class UpdateClassificationsModelOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String modelId,
String language,
InputStream trainingData)
Instantiates a new builder with required properties.
|
public Builder()
public Builder(String modelId, String language, InputStream trainingData)
modelId
- the modelIdlanguage
- the languagetrainingData
- the trainingDatapublic UpdateClassificationsModelOptions build()
public UpdateClassificationsModelOptions.Builder modelId(String modelId)
modelId
- the modelIdpublic UpdateClassificationsModelOptions.Builder language(String language)
language
- the languagepublic UpdateClassificationsModelOptions.Builder trainingData(InputStream trainingData)
trainingData
- the trainingDatapublic UpdateClassificationsModelOptions.Builder trainingDataContentType(String trainingDataContentType)
trainingDataContentType
- the trainingDataContentTypepublic UpdateClassificationsModelOptions.Builder name(String name)
name
- the namepublic UpdateClassificationsModelOptions.Builder userMetadata(Map<String,Object> userMetadata)
userMetadata
- the userMetadatapublic UpdateClassificationsModelOptions.Builder description(String description)
description
- the descriptionpublic UpdateClassificationsModelOptions.Builder modelVersion(String modelVersion)
modelVersion
- the modelVersionpublic UpdateClassificationsModelOptions.Builder workspaceId(String workspaceId)
workspaceId
- the workspaceIdpublic UpdateClassificationsModelOptions.Builder versionDescription(String versionDescription)
versionDescription
- the versionDescriptionpublic UpdateClassificationsModelOptions.Builder trainingParameters(ClassificationsTrainingParameters trainingParameters)
trainingParameters
- the trainingParameterspublic UpdateClassificationsModelOptions.Builder trainingData(File trainingData) throws FileNotFoundException
trainingData
- the trainingDataFileNotFoundException
- if the file could not be foundCopyright © 2024 IBM Cloud. All rights reserved.