Class TrainOptions.Builder

java.lang.Object
com.ibm.watson.visual_recognition.v4.model.TrainOptions.Builder
Enclosing class:
TrainOptions

public static class TrainOptions.Builder
extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder​(String collectionId)
      Instantiates a new builder with required properties.
      Parameters:
      collectionId - the collectionId
  • Method Details

    • build

      public TrainOptions build()
      Builds a TrainOptions.
      Returns:
      the new TrainOptions instance
    • collectionId

      public TrainOptions.Builder collectionId​(String collectionId)
      Set the collectionId.
      Parameters:
      collectionId - the collectionId
      Returns:
      the TrainOptions builder