public static class AddImageTrainingDataOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
AddImageTrainingDataOptions.Builder()
Instantiates a new builder.
|
AddImageTrainingDataOptions.Builder(java.lang.String collectionId,
java.lang.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(java.lang.String collectionId)
Set the collectionId.
|
AddImageTrainingDataOptions.Builder |
imageId(java.lang.String imageId)
Set the imageId.
|
AddImageTrainingDataOptions.Builder |
objects(java.util.List<TrainingDataObject> objects)
Set the objects.
|
public AddImageTrainingDataOptions.Builder()
public AddImageTrainingDataOptions.Builder(java.lang.String collectionId, java.lang.String imageId)
collectionId
- the collectionIdimageId
- the imageIdpublic AddImageTrainingDataOptions build()
public AddImageTrainingDataOptions.Builder addObjects(TrainingDataObject objects)
objects
- the new objectspublic AddImageTrainingDataOptions.Builder collectionId(java.lang.String collectionId)
collectionId
- the collectionIdpublic AddImageTrainingDataOptions.Builder imageId(java.lang.String imageId)
imageId
- the imageIdpublic AddImageTrainingDataOptions.Builder objects(java.util.List<TrainingDataObject> objects)
objects
- the objects