public static class ToneChatOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(java.util.List<Utterance> utterances)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
ToneChatOptions.Builder |
addUtterances(Utterance utterances)
Adds an utterances to utterances.
|
ToneChatOptions |
build()
Builds a ToneChatOptions.
|
ToneChatOptions.Builder |
utterances(java.util.List<Utterance> utterances)
Set the utterances.
|
public Builder()
public Builder(java.util.List<Utterance> utterances)
utterances
- the utterancespublic ToneChatOptions build()
public ToneChatOptions.Builder addUtterances(Utterance utterances)
utterances
- the new utterancespublic ToneChatOptions.Builder utterances(java.util.List<Utterance> utterances)
utterances
- the utterances