public static class Utterance.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(Utterance options)
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
Utterance |
build()
Builds the.
|
Utterance.Builder |
text(java.lang.String text)
Sets the text.
|
Utterance.Builder |
user(java.lang.String user)
Sets the user.
|
public Builder()
public Builder(Utterance options)
options
- the optionspublic Utterance.Builder text(java.lang.String text)
text
- the textpublic Utterance.Builder user(java.lang.String user)
user
- the userpublic Utterance build()