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 | Field and Description |
---|---|
protected java.lang.String |
credentialId |
protected SourceOptions |
options |
protected SourceSchedule |
schedule |
protected java.lang.String |
type |
Modifier | Constructor and Description |
---|---|
protected |
Source(Source.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
credentialId()
Gets the credentialId.
|
Source.Builder |
newBuilder()
New builder.
|
SourceOptions |
options()
Gets the options.
|
SourceSchedule |
schedule()
Gets the schedule.
|
java.lang.String |
type()
Gets the type.
|
protected java.lang.String type
@SerializedName(value="credential_id") protected java.lang.String credentialId
protected SourceSchedule schedule
protected SourceOptions options
protected Source(Source.Builder builder)
public Source.Builder newBuilder()
public java.lang.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 java.lang.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.