public class SourceOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
SourceOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
List<SourceOptionsBuckets> |
buckets()
Gets the buckets.
|
Boolean |
crawlAllBuckets()
Gets the crawlAllBuckets.
|
List<SourceOptionsFolder> |
folders()
Gets the folders.
|
SourceOptions.Builder |
newBuilder()
New builder.
|
List<SourceOptionsObject> |
objects()
Gets the objects.
|
List<SourceOptionsSiteColl> |
siteCollections()
Gets the siteCollections.
|
List<SourceOptionsWebCrawl> |
urls()
Gets the urls.
|
public SourceOptions.Builder newBuilder()
public List<SourceOptionsFolder> folders()
Array of folders to crawl from the Box source. Only valid, and required, when the **type** field of the **source** object is set to `box`.
public List<SourceOptionsObject> objects()
Array of Salesforce document object types to crawl from the Salesforce source. Only valid, and required, when the **type** field of the **source** object is set to `salesforce`.
public List<SourceOptionsSiteColl> siteCollections()
Array of Microsoft SharePointoint Online site collections to crawl from the SharePoint source. Only valid and required when the **type** field of the **source** object is set to `sharepoint`.
public List<SourceOptionsWebCrawl> urls()
Array of Web page URLs to begin crawling the web from. Only valid and required when the **type** field of the **source** object is set to `web_crawl`.
public List<SourceOptionsBuckets> buckets()
Array of cloud object store buckets to begin crawling. Only valid and required when the **type** field of the **source** object is set to `cloud_object_store`, and the **crawl_all_buckets** field is `false` or not specified.
public Boolean crawlAllBuckets()
When `true`, all buckets in the specified cloud object store are crawled. If set to `true`, the **buckets** array must not be specified.
Copyright © 2021 IBM Cloud. All rights reserved.