Class Counterexample.Builder

java.lang.Object
com.ibm.watson.assistant.v1.model.Counterexample.Builder
Enclosing class:
Counterexample

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

      public Counterexample build()
      Builds a Counterexample.
      Returns:
      the new Counterexample instance
    • text

      public Counterexample.Builder text​(String text)
      Set the text.
      Parameters:
      text - the text
      Returns:
      the Counterexample builder