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 Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method Description ListModelsOptions
build()
Builds a ListModelsOptions.ListModelsOptions.Builder
source(String source)
Set the source.ListModelsOptions.Builder
target(String target)
Set the target.ListModelsOptions.Builder
xDefault(Boolean xDefault)
Set the xDefault.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a ListModelsOptions.- Returns:
- the new ListModelsOptions instance
-
source
Set the source.- Parameters:
source
- the source- Returns:
- the ListModelsOptions builder
-
target
Set the target.- Parameters:
target
- the target- Returns:
- the ListModelsOptions builder
-
xDefault
Set the xDefault.- Parameters:
xDefault
- the xDefault- Returns:
- the ListModelsOptions builder
-