public static class ObjectTrainingStatus.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(Boolean ready,
Boolean inProgress,
Boolean dataChanged,
Boolean latestFailed,
Boolean rscnnReady,
String description)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and 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.
|
public Builder()
public Builder(Boolean ready, Boolean inProgress, Boolean dataChanged, Boolean latestFailed, Boolean rscnnReady, String description)
ready
- the readyinProgress
- the inProgressdataChanged
- the dataChangedlatestFailed
- the latestFailedrscnnReady
- the rscnnReadydescription
- the descriptionpublic ObjectTrainingStatus build()
public ObjectTrainingStatus.Builder ready(Boolean ready)
ready
- the readypublic ObjectTrainingStatus.Builder inProgress(Boolean inProgress)
inProgress
- the inProgresspublic ObjectTrainingStatus.Builder dataChanged(Boolean dataChanged)
dataChanged
- the dataChangedpublic ObjectTrainingStatus.Builder latestFailed(Boolean latestFailed)
latestFailed
- the latestFailedpublic ObjectTrainingStatus.Builder rscnnReady(Boolean rscnnReady)
rscnnReady
- the rscnnReadypublic ObjectTrainingStatus.Builder description(String description)
description
- the descriptionCopyright © 2021 IBM Cloud. All rights reserved.