Class SourceOptionsSiteColl

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

public class SourceOptionsSiteColl
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Object that defines a Microsoft SharePoint site collection to crawl with this configuration.
  • Method Details

    • newBuilder

      public SourceOptionsSiteColl.Builder newBuilder()
      New builder.
      Returns:
      a SourceOptionsSiteColl builder
    • siteCollectionPath

      public String siteCollectionPath()
      Gets the siteCollectionPath.

      The Microsoft SharePoint Online site collection path to crawl. The path must be be relative to the **organization_url** that was specified in the credentials associated with this source configuration.

      Returns:
      the siteCollectionPath
    • limit

      public Long limit()
      Gets the limit.

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

      Returns:
      the limit