public class Source
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
Source.Builder
Builder.
|
static interface |
Source.Type
The type of source to connect to.
|
Modifier and Type | Method and Description |
---|---|
String |
credentialId()
Gets the credentialId.
|
Source.Builder |
newBuilder()
New builder.
|
SourceOptions |
options()
Gets the options.
|
SourceSchedule |
schedule()
Gets the schedule.
|
String |
type()
Gets the type.
|
public Source.Builder newBuilder()
public String type()
The type of source to connect to. - `box` indicates the configuration is to connect an instance of Enterprise Box. - `salesforce` indicates the configuration is to connect to Salesforce. - `sharepoint` indicates the configuration is to connect to Microsoft SharePoint Online. - `web_crawl` indicates the configuration is to perform a web page crawl. - `cloud_object_storage` indicates the configuration is to connect to a cloud object store.
public String credentialId()
The **credential_id** of the credentials to use to connect to the source. Credentials are defined using the **credentials** method. The **source_type** of the credentials used must match the **type** field specified in this object.
public SourceSchedule schedule()
Object containing the schedule information for the source.
public SourceOptions options()
The **options** object defines which items to crawl from the source system.
Copyright © 2022 IBM Cloud. All rights reserved.