public static class DeleteTrainingExampleOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(java.lang.String environmentId,
java.lang.String collectionId,
java.lang.String queryId,
java.lang.String exampleId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
DeleteTrainingExampleOptions |
build()
Builds a DeleteTrainingExampleOptions.
|
DeleteTrainingExampleOptions.Builder |
collectionId(java.lang.String collectionId)
Set the collectionId.
|
DeleteTrainingExampleOptions.Builder |
environmentId(java.lang.String environmentId)
Set the environmentId.
|
DeleteTrainingExampleOptions.Builder |
exampleId(java.lang.String exampleId)
Set the exampleId.
|
DeleteTrainingExampleOptions.Builder |
queryId(java.lang.String queryId)
Set the queryId.
|
public Builder()
public Builder(java.lang.String environmentId, java.lang.String collectionId, java.lang.String queryId, java.lang.String exampleId)
environmentId
- the environmentIdcollectionId
- the collectionIdqueryId
- the queryIdexampleId
- the exampleIdpublic DeleteTrainingExampleOptions build()
public DeleteTrainingExampleOptions.Builder environmentId(java.lang.String environmentId)
environmentId
- the environmentIdpublic DeleteTrainingExampleOptions.Builder collectionId(java.lang.String collectionId)
collectionId
- the collectionIdpublic DeleteTrainingExampleOptions.Builder queryId(java.lang.String queryId)
queryId
- the queryIdpublic DeleteTrainingExampleOptions.Builder exampleId(java.lang.String exampleId)
exampleId
- the exampleId