Class SourceOptionsObject.Builder

java.lang.Object
com.ibm.watson.discovery.v1.model.SourceOptionsObject.Builder
Enclosing class:
SourceOptionsObject

public static class SourceOptionsObject.Builder
extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder​(String name)
      Instantiates a new builder with required properties.
      Parameters:
      name - the name
  • Method Details

    • build

      public SourceOptionsObject build()
      Builds a SourceOptionsObject.
      Returns:
      the new SourceOptionsObject instance
    • name

      public SourceOptionsObject.Builder name​(String name)
      Set the name.
      Parameters:
      name - the name
      Returns:
      the SourceOptionsObject builder
    • limit

      public SourceOptionsObject.Builder limit​(long limit)
      Set the limit.
      Parameters:
      limit - the limit
      Returns:
      the SourceOptionsObject builder