Class GetGrammarOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.speech_to_text.v1.model.GetGrammarOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class GetGrammarOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The getGrammar options.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetGrammarOptions.BuilderBuilder. -
Method Summary
Modifier and Type Method Description StringcustomizationId()Gets the customizationId.StringgrammarName()Gets the grammarName.GetGrammarOptions.BuildernewBuilder()New builder.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a GetGrammarOptions builder
-
customizationId
Gets the customizationId.The customization ID (GUID) of the custom language model that is to be used for the request. You must make the request with credentials for the instance of the service that owns the custom model.
- Returns:
- the customizationId
-
grammarName
Gets the grammarName.The name of the grammar for the custom language model.
- Returns:
- the grammarName
-