Class SourceOptionsBuckets

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

public class SourceOptionsBuckets
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Object defining a cloud object store bucket to crawl.
  • Method Details

    • newBuilder

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

      public String name()
      Gets the name.

      The name of the cloud object store bucket to crawl.

      Returns:
      the name
    • limit

      public Long limit()
      Gets the limit.

      The number of documents to crawl from this cloud object store bucket. If not specified, all documents in the bucket are crawled.

      Returns:
      the limit