public class Source
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
Source.Type
The type of source to connect to.
|
Constructor and Description |
---|
Source() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCredentialId()
Gets the credentialId.
|
SourceOptions |
getOptions()
Gets the options.
|
SourceSchedule |
getSchedule()
Gets the schedule.
|
java.lang.String |
getType()
Gets the type.
|
void |
setCredentialId(java.lang.String credentialId)
Sets the credentialId.
|
void |
setOptions(SourceOptions options)
Sets the options.
|
void |
setSchedule(SourceSchedule schedule)
Sets the schedule.
|
void |
setType(java.lang.String type)
Sets the type.
|
public java.lang.String getType()
public java.lang.String getCredentialId()
public SourceSchedule getSchedule()
public SourceOptions getOptions()
public void setType(java.lang.String type)
type
- the new typepublic void setCredentialId(java.lang.String credentialId)
credentialId
- the new credentialIdpublic void setSchedule(SourceSchedule schedule)
schedule
- the new schedulepublic void setOptions(SourceOptions options)
options
- the new options