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 Details

    • Builder

      public Builder()
      Instantiates a new builder.
  • Method Details

    • build

      public SourceSchedule build()
      Builds a SourceSchedule.
      Returns:
      the new SourceSchedule instance
    • enabled

      public SourceSchedule.Builder enabled​(Boolean enabled)
      Set the enabled.
      Parameters:
      enabled - the enabled
      Returns:
      the SourceSchedule builder
    • timeZone

      public SourceSchedule.Builder timeZone​(String timeZone)
      Set the timeZone.
      Parameters:
      timeZone - the timeZone
      Returns:
      the SourceSchedule builder
    • frequency

      public SourceSchedule.Builder frequency​(String frequency)
      Set the frequency.
      Parameters:
      frequency - the frequency
      Returns:
      the SourceSchedule builder