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 ObjectTrainingStatus
build()
Builds a ObjectTrainingStatus.ObjectTrainingStatus.Builder
dataChanged(Boolean dataChanged)
Set the dataChanged.ObjectTrainingStatus.Builder
description(String description)
Set the description.ObjectTrainingStatus.Builder
inProgress(Boolean inProgress)
Set the inProgress.ObjectTrainingStatus.Builder
latestFailed(Boolean latestFailed)
Set the latestFailed.ObjectTrainingStatus.Builder
ready(Boolean ready)
Set the ready.ObjectTrainingStatus.Builder
rscnnReady(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
-