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 | Field and Description |
---|---|
protected java.util.List<SourceOptionsBuckets> |
buckets |
protected java.lang.Boolean |
crawlAllBuckets |
protected java.util.List<SourceOptionsFolder> |
folders |
protected java.util.List<SourceOptionsObject> |
objects |
protected java.util.List<SourceOptionsSiteColl> |
siteCollections |
protected java.util.List<SourceOptionsWebCrawl> |
urls |
Modifier | Constructor and Description |
---|---|
protected |
SourceOptions(SourceOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.util.List<SourceOptionsBuckets> |
buckets()
Gets the buckets.
|
java.lang.Boolean |
crawlAllBuckets()
Gets the crawlAllBuckets.
|
java.util.List<SourceOptionsFolder> |
folders()
Gets the folders.
|
SourceOptions.Builder |
newBuilder()
New builder.
|
java.util.List<SourceOptionsObject> |
objects()
Gets the objects.
|
java.util.List<SourceOptionsSiteColl> |
siteCollections()
Gets the siteCollections.
|
java.util.List<SourceOptionsWebCrawl> |
urls()
Gets the urls.
|
protected java.util.List<SourceOptionsFolder> folders
protected java.util.List<SourceOptionsObject> objects
@SerializedName(value="site_collections") protected java.util.List<SourceOptionsSiteColl> siteCollections
protected java.util.List<SourceOptionsWebCrawl> urls
protected java.util.List<SourceOptionsBuckets> buckets
@SerializedName(value="crawl_all_buckets") protected java.lang.Boolean crawlAllBuckets
protected SourceOptions(SourceOptions.Builder builder)
public SourceOptions.Builder newBuilder()
public java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.lang.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.