Class TrainingDataObject.Builder
java.lang.Object
com.ibm.watson.visual_recognition.v4.model.TrainingDataObject.Builder
- Enclosing class:
- TrainingDataObject
public static class TrainingDataObject.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method Description TrainingDataObject
build()
Builds a TrainingDataObject.TrainingDataObject.Builder
location(Location location)
Set the location.TrainingDataObject.Builder
object(String object)
Set the object.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a TrainingDataObject.- Returns:
- the new TrainingDataObject instance
-
object
Set the object.- Parameters:
object
- the object- Returns:
- the TrainingDataObject builder
-
location
Set the location.- Parameters:
location
- the location- Returns:
- the TrainingDataObject builder
-