Class IdentifyOptions.Builder

java.lang.Object
com.ibm.watson.language_translator.v3.model.IdentifyOptions.Builder
Enclosing class:
IdentifyOptions

public static class IdentifyOptions.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 IdentifyOptions build()
      Builds a IdentifyOptions.
      Returns:
      the new IdentifyOptions instance
    • text

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