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 Details

    • Builder

      public Builder()
      Instantiates a new builder.
  • Method Details

    • build

      public TrainingDataObject build()
      Builds a TrainingDataObject.
      Returns:
      the new TrainingDataObject instance
    • object

      public TrainingDataObject.Builder object​(String object)
      Set the object.
      Parameters:
      object - the object
      Returns:
      the TrainingDataObject builder
    • location

      public TrainingDataObject.Builder location​(Location location)
      Set the location.
      Parameters:
      location - the location
      Returns:
      the TrainingDataObject builder