public static class Utterance.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
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 Builder()
public 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