public static class UpdateCategoriesModelOptions.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 UpdateCategoriesModelOptions build()
public UpdateCategoriesModelOptions.Builder modelId(String modelId)
modelId
- the modelIdpublic UpdateCategoriesModelOptions.Builder language(String language)
language
- the languagepublic UpdateCategoriesModelOptions.Builder trainingData(InputStream trainingData)
trainingData
- the trainingDatapublic UpdateCategoriesModelOptions.Builder trainingDataContentType(String trainingDataContentType)
trainingDataContentType
- the trainingDataContentTypepublic UpdateCategoriesModelOptions.Builder name(String name)
name
- the namepublic UpdateCategoriesModelOptions.Builder userMetadata(Map<String,Object> userMetadata)
userMetadata
- the userMetadatapublic UpdateCategoriesModelOptions.Builder description(String description)
description
- the descriptionpublic UpdateCategoriesModelOptions.Builder modelVersion(String modelVersion)
modelVersion
- the modelVersionpublic UpdateCategoriesModelOptions.Builder workspaceId(String workspaceId)
workspaceId
- the workspaceIdpublic UpdateCategoriesModelOptions.Builder versionDescription(String versionDescription)
versionDescription
- the versionDescriptionpublic UpdateCategoriesModelOptions.Builder trainingData(File trainingData) throws FileNotFoundException
trainingData
- the trainingDataFileNotFoundException
- if the file could not be foundCopyright © 2021 IBM Cloud. All rights reserved.