Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String text)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
Utterance |
build()
Builds a Utterance.
|
Utterance.Builder |
text(String text)
Set the text.
|
Utterance.Builder |
user(String user)
Set the user.
|
public Builder()
public Builder(String text)
text
- the textpublic Utterance build()
public Utterance.Builder text(String text)
text
- the textpublic Utterance.Builder user(String user)
user
- the userCopyright © 2021 IBM Cloud. All rights reserved.