public static class Utterance.Builder
extends java.lang.Object
Constructor and Description |
---|
Utterance.Builder()
Instantiates a new builder.
|
Utterance.Builder(java.lang.String text)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
Utterance |
build()
Builds a Utterance.
|
Utterance.Builder |
text(java.lang.String text)
Set the text.
|
Utterance.Builder |
user(java.lang.String user)
Set the user.
|
public Utterance.Builder()
public Utterance.Builder(java.lang.String text)
text
- the textpublic Utterance build()
public Utterance.Builder text(java.lang.String text)
text
- the textpublic Utterance.Builder user(java.lang.String user)
user
- the user