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