Class DeleteAllTrainingDataOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.DeleteAllTrainingDataOptions.Builder
- Enclosing class:
- DeleteAllTrainingDataOptions
public static class DeleteAllTrainingDataOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description DeleteAllTrainingDataOptions
build()
Builds a DeleteAllTrainingDataOptions.DeleteAllTrainingDataOptions.Builder
collectionId(String collectionId)
Set the collectionId.DeleteAllTrainingDataOptions.Builder
environmentId(String environmentId)
Set the environmentId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
environmentId
- the environmentIdcollectionId
- the collectionId
-
-
Method Details
-
build
Builds a DeleteAllTrainingDataOptions.- Returns:
- the new DeleteAllTrainingDataOptions instance
-
environmentId
Set the environmentId.- Parameters:
environmentId
- the environmentId- Returns:
- the DeleteAllTrainingDataOptions builder
-
collectionId
Set the collectionId.- Parameters:
collectionId
- the collectionId- Returns:
- the DeleteAllTrainingDataOptions builder
-