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 classSource.BuilderBuilder.static interfaceSource.TypeThe type of source to connect to. -
Method Summary
Modifier and Type Method Description StringcredentialId()Gets the credentialId.Source.BuildernewBuilder()New builder.SourceOptionsoptions()Gets the options.SourceScheduleschedule()Gets the schedule.Stringtype()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
-