Class ObjectTrainingStatus.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder​(Boolean ready, Boolean inProgress, Boolean dataChanged, Boolean latestFailed, Boolean rscnnReady, String description)
      Instantiates a new builder with required properties.
      Parameters:
      ready - the ready
      inProgress - the inProgress
      dataChanged - the dataChanged
      latestFailed - the latestFailed
      rscnnReady - the rscnnReady
      description - the description
  • Method Details

    • build

      public ObjectTrainingStatus build()
      Builds a ObjectTrainingStatus.
      Returns:
      the new ObjectTrainingStatus instance
    • ready

      public ObjectTrainingStatus.Builder ready​(Boolean ready)
      Set the ready.
      Parameters:
      ready - the ready
      Returns:
      the ObjectTrainingStatus builder
    • inProgress

      public ObjectTrainingStatus.Builder inProgress​(Boolean inProgress)
      Set the inProgress.
      Parameters:
      inProgress - the inProgress
      Returns:
      the ObjectTrainingStatus builder
    • dataChanged

      public ObjectTrainingStatus.Builder dataChanged​(Boolean dataChanged)
      Set the dataChanged.
      Parameters:
      dataChanged - the dataChanged
      Returns:
      the ObjectTrainingStatus builder
    • latestFailed

      public ObjectTrainingStatus.Builder latestFailed​(Boolean latestFailed)
      Set the latestFailed.
      Parameters:
      latestFailed - the latestFailed
      Returns:
      the ObjectTrainingStatus builder
    • rscnnReady

      public ObjectTrainingStatus.Builder rscnnReady​(Boolean rscnnReady)
      Set the rscnnReady.
      Parameters:
      rscnnReady - the rscnnReady
      Returns:
      the ObjectTrainingStatus builder
    • description

      public ObjectTrainingStatus.Builder description​(String description)
      Set the description.
      Parameters:
      description - the description
      Returns:
      the ObjectTrainingStatus builder