public static class TrainingExample.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
TrainingExample |
build()
Builds a TrainingExample.
|
TrainingExample.Builder |
crossReference(String crossReference)
Set the crossReference.
|
TrainingExample.Builder |
documentId(String documentId)
Set the documentId.
|
TrainingExample.Builder |
relevance(long relevance)
Set the relevance.
|
public TrainingExample build()
public TrainingExample.Builder documentId(String documentId)
documentId
- the documentIdpublic TrainingExample.Builder crossReference(String crossReference)
crossReference
- the crossReferencepublic TrainingExample.Builder relevance(long relevance)
relevance
- the relevanceCopyright © 2022 IBM Cloud. All rights reserved.