Class CreateStopwordListOptions

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.CreateStopwordListOptions
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class CreateStopwordListOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createStopwordList options.
  • Method Details

    • newBuilder

      public CreateStopwordListOptions.Builder newBuilder()
      New builder.
      Returns:
      a CreateStopwordListOptions builder
    • environmentId

      public String environmentId()
      Gets the environmentId.

      The ID of the environment.

      Returns:
      the environmentId
    • collectionId

      public String collectionId()
      Gets the collectionId.

      The ID of the collection.

      Returns:
      the collectionId
    • stopwordFile

      public InputStream stopwordFile()
      Gets the stopwordFile.

      The content of the stopword list to ingest.

      Returns:
      the stopwordFile
    • stopwordFilename

      public String stopwordFilename()
      Gets the stopwordFilename.

      The filename for stopwordFile.

      Returns:
      the stopwordFilename