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 Summary
-
Method Summary
Modifier and Type Method Description IdentifyOptions
build()
Builds a IdentifyOptions.IdentifyOptions.Builder
text(String text)
Set the text.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
text
- the text
-
-
Method Details
-
build
Builds a IdentifyOptions.- Returns:
- the new IdentifyOptions instance
-
text
Set the text.- Parameters:
text
- the text- Returns:
- the IdentifyOptions builder
-