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