public static class ObjectTrainingStatus.Builder
extends java.lang.Object
Constructor and Description |
---|
ObjectTrainingStatus.Builder()
Instantiates a new builder.
|
ObjectTrainingStatus.Builder(java.lang.Boolean ready,
java.lang.Boolean inProgress,
java.lang.Boolean dataChanged,
java.lang.Boolean latestFailed,
java.lang.Boolean rscnnReady,
java.lang.String description)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
ObjectTrainingStatus |
build()
Builds a ObjectTrainingStatus.
|
ObjectTrainingStatus.Builder |
dataChanged(java.lang.Boolean dataChanged)
Set the dataChanged.
|
ObjectTrainingStatus.Builder |
description(java.lang.String description)
Set the description.
|
ObjectTrainingStatus.Builder |
inProgress(java.lang.Boolean inProgress)
Set the inProgress.
|
ObjectTrainingStatus.Builder |
latestFailed(java.lang.Boolean latestFailed)
Set the latestFailed.
|
ObjectTrainingStatus.Builder |
ready(java.lang.Boolean ready)
Set the ready.
|
ObjectTrainingStatus.Builder |
rscnnReady(java.lang.Boolean rscnnReady)
Set the rscnnReady.
|
public ObjectTrainingStatus.Builder()
public ObjectTrainingStatus.Builder(java.lang.Boolean ready, java.lang.Boolean inProgress, java.lang.Boolean dataChanged, java.lang.Boolean latestFailed, java.lang.Boolean rscnnReady, java.lang.String description)
ready
- the readyinProgress
- the inProgressdataChanged
- the dataChangedlatestFailed
- the latestFailedrscnnReady
- the rscnnReadydescription
- the descriptionpublic ObjectTrainingStatus build()
public ObjectTrainingStatus.Builder ready(java.lang.Boolean ready)
ready
- the readypublic ObjectTrainingStatus.Builder inProgress(java.lang.Boolean inProgress)
inProgress
- the inProgresspublic ObjectTrainingStatus.Builder dataChanged(java.lang.Boolean dataChanged)
dataChanged
- the dataChangedpublic ObjectTrainingStatus.Builder latestFailed(java.lang.Boolean latestFailed)
latestFailed
- the latestFailedpublic ObjectTrainingStatus.Builder rscnnReady(java.lang.Boolean rscnnReady)
rscnnReady
- the rscnnReadypublic ObjectTrainingStatus.Builder description(java.lang.String description)
description
- the description