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 Summary
-
Method Summary
Modifier and Type Method Description ObjectTrainingStatusbuild()Builds a ObjectTrainingStatus.ObjectTrainingStatus.BuilderdataChanged(Boolean dataChanged)Set the dataChanged.ObjectTrainingStatus.Builderdescription(String description)Set the description.ObjectTrainingStatus.BuilderinProgress(Boolean inProgress)Set the inProgress.ObjectTrainingStatus.BuilderlatestFailed(Boolean latestFailed)Set the latestFailed.ObjectTrainingStatus.Builderready(Boolean ready)Set the ready.ObjectTrainingStatus.BuilderrscnnReady(Boolean rscnnReady)Set the rscnnReady.
-
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 readyinProgress- the inProgressdataChanged- the dataChangedlatestFailed- the latestFailedrscnnReady- the rscnnReadydescription- the description
-
-
Method Details
-
build
Builds a ObjectTrainingStatus.- Returns:
- the new ObjectTrainingStatus instance
-
ready
Set the ready.- Parameters:
ready- the ready- Returns:
- the ObjectTrainingStatus builder
-
inProgress
Set the inProgress.- Parameters:
inProgress- the inProgress- Returns:
- the ObjectTrainingStatus builder
-
dataChanged
Set the dataChanged.- Parameters:
dataChanged- the dataChanged- Returns:
- the ObjectTrainingStatus builder
-
latestFailed
Set the latestFailed.- Parameters:
latestFailed- the latestFailed- Returns:
- the ObjectTrainingStatus builder
-
rscnnReady
Set the rscnnReady.- Parameters:
rscnnReady- the rscnnReady- Returns:
- the ObjectTrainingStatus builder
-
description
Set the description.- Parameters:
description- the description- Returns:
- the ObjectTrainingStatus builder
-