public static class DeleteTrainingDataOptions.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)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
DeleteTrainingDataOptions |
build()
Builds a DeleteTrainingDataOptions.
|
DeleteTrainingDataOptions.Builder |
collectionId(java.lang.String collectionId)
Set the collectionId.
|
DeleteTrainingDataOptions.Builder |
environmentId(java.lang.String environmentId)
Set the environmentId.
|
DeleteTrainingDataOptions.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)
environmentId
- the environmentIdcollectionId
- the collectionIdqueryId
- the queryIdpublic DeleteTrainingDataOptions build()
public DeleteTrainingDataOptions.Builder environmentId(java.lang.String environmentId)
environmentId
- the environmentIdpublic DeleteTrainingDataOptions.Builder collectionId(java.lang.String collectionId)
collectionId
- the collectionIdpublic DeleteTrainingDataOptions.Builder queryId(java.lang.String queryId)
queryId
- the queryId