Class SourceSchedule.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.SourceSchedule.Builder
- Enclosing class:
- SourceSchedule
public static class SourceSchedule.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder. -
Method Summary
Modifier and Type Method Description SourceSchedulebuild()Builds a SourceSchedule.SourceSchedule.Builderenabled(Boolean enabled)Set the enabled.SourceSchedule.Builderfrequency(String frequency)Set the frequency.SourceSchedule.BuildertimeZone(String timeZone)Set the timeZone.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a SourceSchedule.- Returns:
- the new SourceSchedule instance
-
enabled
Set the enabled.- Parameters:
enabled- the enabled- Returns:
- the SourceSchedule builder
-
timeZone
Set the timeZone.- Parameters:
timeZone- the timeZone- Returns:
- the SourceSchedule builder
-
frequency
Set the frequency.- Parameters:
frequency- the frequency- Returns:
- the SourceSchedule builder
-