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