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 Details

    • Builder

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

    • build

      public Source build()
      Builds a Source.
      Returns:
      the new Source instance
    • type

      public Source.Builder type​(String type)
      Set the type.
      Parameters:
      type - the type
      Returns:
      the Source builder
    • credentialId

      public Source.Builder credentialId​(String credentialId)
      Set the credentialId.
      Parameters:
      credentialId - the credentialId
      Returns:
      the Source builder
    • schedule

      public Source.Builder schedule​(SourceSchedule schedule)
      Set the schedule.
      Parameters:
      schedule - the schedule
      Returns:
      the Source builder
    • options

      public Source.Builder options​(SourceOptions options)
      Set the options.
      Parameters:
      options - the options
      Returns:
      the Source builder