public class UpdateTrainingExampleOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
UpdateTrainingExampleOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
collectionId |
protected java.lang.String |
crossReference |
protected java.lang.String |
environmentId |
protected java.lang.String |
exampleId |
protected java.lang.String |
queryId |
protected java.lang.Long |
relevance |
Modifier | Constructor and Description |
---|---|
protected |
UpdateTrainingExampleOptions(UpdateTrainingExampleOptions.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 |
environmentId()
Gets the environmentId.
|
java.lang.String |
exampleId()
Gets the exampleId.
|
UpdateTrainingExampleOptions.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 exampleId
protected java.lang.String crossReference
protected java.lang.Long relevance
protected UpdateTrainingExampleOptions(UpdateTrainingExampleOptions.Builder builder)
public UpdateTrainingExampleOptions.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 exampleId()
The ID of the document as it is indexed.
public java.lang.String crossReference()
The example to add.
public java.lang.Long relevance()
The relevance value for this example.