Class SourceOptionsObject

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

public class SourceOptionsObject
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Object that defines a Salesforce document object type crawl with this configuration.
  • Method Details

    • newBuilder

      public SourceOptionsObject.Builder newBuilder()
      New builder.
      Returns:
      a SourceOptionsObject builder
    • name

      public String name()
      Gets the name.

      The name of the Salesforce document object to crawl. For example, `case`.

      Returns:
      the name
    • limit

      public Long limit()
      Gets the limit.

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

      Returns:
      the limit