Class DeleteStopwordListOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.DeleteStopwordListOptions.Builder
- Enclosing class:
- DeleteStopwordListOptions
public static class DeleteStopwordListOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description DeleteStopwordListOptions
build()
Builds a DeleteStopwordListOptions.DeleteStopwordListOptions.Builder
collectionId(String collectionId)
Set the collectionId.DeleteStopwordListOptions.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 DeleteStopwordListOptions.- Returns:
- the new DeleteStopwordListOptions instance
-
environmentId
Set the environmentId.- Parameters:
environmentId
- the environmentId- Returns:
- the DeleteStopwordListOptions builder
-
collectionId
Set the collectionId.- Parameters:
collectionId
- the collectionId- Returns:
- the DeleteStopwordListOptions builder
-