Class SourceOptionsFolder

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

public class SourceOptionsFolder
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Object that defines a box folder to crawl with this configuration.
  • Method Details

    • newBuilder

      public SourceOptionsFolder.Builder newBuilder()
      New builder.
      Returns:
      a SourceOptionsFolder builder
    • ownerUserId

      public String ownerUserId()
      Gets the ownerUserId.

      The Box user ID of the user who owns the folder to crawl.

      Returns:
      the ownerUserId
    • folderId

      public String folderId()
      Gets the folderId.

      The Box folder ID of the folder to crawl.

      Returns:
      the folderId
    • limit

      public Long limit()
      Gets the limit.

      The maximum number of documents to crawl for this folder. By default, all documents in the folder are crawled.

      Returns:
      the limit