public static class AddImageTrainingDataOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String collectionId,
String imageId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
AddImageTrainingDataOptions.Builder |
addObjects(TrainingDataObject objects)
Adds an objects to objects.
|
AddImageTrainingDataOptions |
build()
Builds a AddImageTrainingDataOptions.
|
AddImageTrainingDataOptions.Builder |
collectionId(String collectionId)
Set the collectionId.
|
AddImageTrainingDataOptions.Builder |
imageId(String imageId)
Set the imageId.
|
AddImageTrainingDataOptions.Builder |
objects(List<TrainingDataObject> objects)
Set the objects.
|
public AddImageTrainingDataOptions build()
public AddImageTrainingDataOptions.Builder addObjects(TrainingDataObject objects)
objects
- the new objectspublic AddImageTrainingDataOptions.Builder collectionId(String collectionId)
collectionId
- the collectionIdpublic AddImageTrainingDataOptions.Builder imageId(String imageId)
imageId
- the imageIdpublic AddImageTrainingDataOptions.Builder objects(List<TrainingDataObject> objects)
objects
- the objectsCopyright © 2021 IBM Cloud. All rights reserved.