public static class CreateClassifierOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
CreateClassifierOptions.Builder()
Instantiates a new builder.
|
CreateClassifierOptions.Builder(java.io.InputStream trainingMetadata,
java.io.InputStream trainingData)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
CreateClassifierOptions |
build()
Builds a CreateClassifierOptions.
|
CreateClassifierOptions.Builder |
trainingData(java.io.File trainingData)
Set the trainingData.
|
CreateClassifierOptions.Builder |
trainingData(java.io.InputStream trainingData)
Set the trainingData.
|
CreateClassifierOptions.Builder |
trainingMetadata(java.io.File trainingMetadata)
Set the trainingMetadata.
|
CreateClassifierOptions.Builder |
trainingMetadata(java.io.InputStream trainingMetadata)
Set the trainingMetadata.
|
public CreateClassifierOptions.Builder()
public CreateClassifierOptions.Builder(java.io.InputStream trainingMetadata, java.io.InputStream trainingData)
trainingMetadata
- the trainingMetadatatrainingData
- the trainingDatapublic CreateClassifierOptions build()
public CreateClassifierOptions.Builder trainingMetadata(java.io.InputStream trainingMetadata)
trainingMetadata
- the trainingMetadatapublic CreateClassifierOptions.Builder trainingData(java.io.InputStream trainingData)
trainingData
- the trainingDatapublic CreateClassifierOptions.Builder trainingMetadata(java.io.File trainingMetadata) throws java.io.FileNotFoundException
trainingMetadata
- the trainingMetadatajava.io.FileNotFoundException
- if the file could not be foundpublic CreateClassifierOptions.Builder trainingData(java.io.File trainingData) throws java.io.FileNotFoundException
trainingData
- the trainingDatajava.io.FileNotFoundException
- if the file could not be found