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 SourceSchedule
build()
Builds a SourceSchedule.SourceSchedule.Builder
enabled(Boolean enabled)
Set the enabled.SourceSchedule.Builder
frequency(String frequency)
Set the frequency.SourceSchedule.Builder
timeZone(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
-