Class GetWordOptions.Builder
java.lang.Object
com.ibm.watson.speech_to_text.v1.model.GetWordOptions.Builder
- Enclosing class:
- GetWordOptions
public static class GetWordOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description GetWordOptionsbuild()Builds a GetWordOptions.GetWordOptions.BuildercustomizationId(String customizationId)Set the customizationId.GetWordOptions.BuilderwordName(String wordName)Set the wordName.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
customizationId- the customizationIdwordName- the wordName
-
-
Method Details
-
build
Builds a GetWordOptions.- Returns:
- the new GetWordOptions instance
-
customizationId
Set the customizationId.- Parameters:
customizationId- the customizationId- Returns:
- the GetWordOptions builder
-
wordName
Set the wordName.- Parameters:
wordName- the wordName- Returns:
- the GetWordOptions builder
-