Class SourceOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SourceOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SourceOptions.Builder
Builder. -
Method Summary
Modifier and Type Method 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.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a SourceOptions builder
-
folders
Gets the 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`.
- Returns:
- the folders
-
objects
Gets the 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`.
- Returns:
- the objects
-
siteCollections
Gets the 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`.
- Returns:
- the siteCollections
-
urls
Gets the 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`.
- Returns:
- the urls
-
buckets
Gets the 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.
- Returns:
- the buckets
-
crawlAllBuckets
Gets the crawlAllBuckets.When `true`, all buckets in the specified cloud object store are crawled. If set to `true`, the **buckets** array must not be specified.
- Returns:
- the crawlAllBuckets
-