public static class GetTrainingExampleOptions.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 |
---|---|
GetTrainingExampleOptions |
build()
Builds a GetTrainingExampleOptions.
|
GetTrainingExampleOptions.Builder |
collectionId(java.lang.String collectionId)
Set the collectionId.
|
GetTrainingExampleOptions.Builder |
environmentId(java.lang.String environmentId)
Set the environmentId.
|
GetTrainingExampleOptions.Builder |
exampleId(java.lang.String exampleId)
Set the exampleId.
|
GetTrainingExampleOptions.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 GetTrainingExampleOptions build()
public GetTrainingExampleOptions.Builder environmentId(java.lang.String environmentId)
environmentId
- the environmentIdpublic GetTrainingExampleOptions.Builder collectionId(java.lang.String collectionId)
collectionId
- the collectionIdpublic GetTrainingExampleOptions.Builder queryId(java.lang.String queryId)
queryId
- the queryIdpublic GetTrainingExampleOptions.Builder exampleId(java.lang.String exampleId)
exampleId
- the exampleId