Class Source
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Source
extends com.ibm.cloud.sdk.core.service.model.GenericModel
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Source.Builder
Builder.static interface
Source.Type
The type of source to connect to. -
Method Summary
Modifier and Type Method 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.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a Source builder
-
type
Gets the 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.
- Returns:
- the type
-
credentialId
Gets the 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.
- Returns:
- the credentialId
-
schedule
Gets the schedule.Object containing the schedule information for the source.
- Returns:
- the schedule
-
options
Gets the options.The **options** object defines which items to crawl from the source system.
- Returns:
- the options
-