public static class TrainingExample.Builder
extends java.lang.Object
Constructor and Description |
---|
TrainingExample.Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
TrainingExample |
build()
Builds a TrainingExample.
|
TrainingExample.Builder |
crossReference(java.lang.String crossReference)
Set the crossReference.
|
TrainingExample.Builder |
documentId(java.lang.String documentId)
Set the documentId.
|
TrainingExample.Builder |
relevance(long relevance)
Set the relevance.
|
public TrainingExample.Builder()
public TrainingExample build()
public TrainingExample.Builder documentId(java.lang.String documentId)
documentId
- the documentIdpublic TrainingExample.Builder crossReference(java.lang.String crossReference)
crossReference
- the crossReferencepublic TrainingExample.Builder relevance(long relevance)
relevance
- the relevance