Class GetModelOptions.Builder
java.lang.Object
com.ibm.watson.language_translator.v3.model.GetModelOptions.Builder
- Enclosing class:
- GetModelOptions
public static class GetModelOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description GetModelOptions
build()
Builds a GetModelOptions.GetModelOptions.Builder
modelId(String modelId)
Set the modelId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
modelId
- the modelId
-
-
Method Details
-
build
Builds a GetModelOptions.- Returns:
- the new GetModelOptions instance
-
modelId
Set the modelId.- Parameters:
modelId
- the modelId- Returns:
- the GetModelOptions builder
-