public static class Source.Builder
extends java.lang.Object
Constructor and Description |
---|
Source.Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
Source |
build()
Builds a Source.
|
Source.Builder |
credentialId(java.lang.String credentialId)
Set the credentialId.
|
Source.Builder |
options(SourceOptions options)
Set the options.
|
Source.Builder |
schedule(SourceSchedule schedule)
Set the schedule.
|
Source.Builder |
type(java.lang.String type)
Set the type.
|
public Source build()
public Source.Builder type(java.lang.String type)
type
- the typepublic Source.Builder credentialId(java.lang.String credentialId)
credentialId
- the credentialIdpublic Source.Builder schedule(SourceSchedule schedule)
schedule
- the schedulepublic Source.Builder options(SourceOptions options)
options
- the options