public class CreateTrainingExampleOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateTrainingExampleOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
collectionId |
protected java.lang.String |
crossReference |
protected java.lang.String |
documentId |
protected java.lang.String |
environmentId |
protected java.lang.String |
queryId |
protected java.lang.Long |
relevance |
Modifier | Constructor and Description |
---|---|
protected |
CreateTrainingExampleOptions(CreateTrainingExampleOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
collectionId()
Gets the collectionId.
|
java.lang.String |
crossReference()
Gets the crossReference.
|
java.lang.String |
documentId()
Gets the documentId.
|
java.lang.String |
environmentId()
Gets the environmentId.
|
CreateTrainingExampleOptions.Builder |
newBuilder()
New builder.
|
java.lang.String |
queryId()
Gets the queryId.
|
java.lang.Long |
relevance()
Gets the relevance.
|
protected java.lang.String environmentId
protected java.lang.String collectionId
protected java.lang.String queryId
protected java.lang.String documentId
protected java.lang.String crossReference
protected java.lang.Long relevance
protected CreateTrainingExampleOptions(CreateTrainingExampleOptions.Builder builder)
public CreateTrainingExampleOptions.Builder newBuilder()
public java.lang.String environmentId()
The ID of the environment.
public java.lang.String collectionId()
The ID of the collection.
public java.lang.String queryId()
The ID of the query used for training.
public java.lang.String documentId()
The document ID associated with this training example.
public java.lang.String crossReference()
The cross reference associated with this training example.
public java.lang.Long relevance()
The relevance of the training example.