public static class GetGrammarOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(java.lang.String customizationId,
java.lang.String grammarName)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
GetGrammarOptions |
build()
Builds a GetGrammarOptions.
|
GetGrammarOptions.Builder |
customizationId(java.lang.String customizationId)
Set the customizationId.
|
GetGrammarOptions.Builder |
grammarName(java.lang.String grammarName)
Set the grammarName.
|
public Builder()
public Builder(java.lang.String customizationId, java.lang.String grammarName)
customizationId
- the customizationIdgrammarName
- the grammarNamepublic GetGrammarOptions build()
public GetGrammarOptions.Builder customizationId(java.lang.String customizationId)
customizationId
- the customizationIdpublic GetGrammarOptions.Builder grammarName(java.lang.String grammarName)
grammarName
- the grammarName