Class ListModelsOptions.Builder

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

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

    • Builder

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

    • build

      public ListModelsOptions build()
      Builds a ListModelsOptions.
      Returns:
      the new ListModelsOptions instance
    • source

      public ListModelsOptions.Builder source​(String source)
      Set the source.
      Parameters:
      source - the source
      Returns:
      the ListModelsOptions builder
    • target

      public ListModelsOptions.Builder target​(String target)
      Set the target.
      Parameters:
      target - the target
      Returns:
      the ListModelsOptions builder
    • xDefault

      public ListModelsOptions.Builder xDefault​(Boolean xDefault)
      Set the xDefault.
      Parameters:
      xDefault - the xDefault
      Returns:
      the ListModelsOptions builder