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 Sourcebuild()Builds a Source.Source.BuildercredentialId(String credentialId)Set the credentialId.Source.Builderoptions(SourceOptions options)Set the options.Source.Builderschedule(SourceSchedule schedule)Set the schedule.Source.Buildertype(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
-