Class Source.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.Source.Builder
- Enclosing class:
- Source
public static class Source.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method Description Source
build()
Builds a Source.Source.Builder
credentialId(String credentialId)
Set the credentialId.Source.Builder
options(SourceOptions options)
Set the options.Source.Builder
schedule(SourceSchedule schedule)
Set the schedule.Source.Builder
type(String type)
Set the type.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a Source.- Returns:
- the new Source instance
-
type
Set the type.- Parameters:
type
- the type- Returns:
- the Source builder
-
credentialId
Set the credentialId.- Parameters:
credentialId
- the credentialId- Returns:
- the Source builder
-
schedule
Set the schedule.- Parameters:
schedule
- the schedule- Returns:
- the Source builder
-
options
Set the options.- Parameters:
options
- the options- Returns:
- the Source builder
-