public final class SampleUtterance extends Object
| Constructor and Description |
|---|
SampleUtterance() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
links()
Get the links property: Links attribute of sample utterance.
|
String |
qid()
Get the qid property: Question id of sample utterance (for stackoverflow questions titles).
|
String |
text()
Get the text property: Text attribute of sample utterance.
|
void |
validate()
Validates the instance.
|
SampleUtterance |
withLinks(List<String> links)
Set the links property: Links attribute of sample utterance.
|
SampleUtterance |
withQid(String qid)
Set the qid property: Question id of sample utterance (for stackoverflow questions titles).
|
SampleUtterance |
withText(String text)
Set the text property: Text attribute of sample utterance.
|
public String text()
public SampleUtterance withText(String text)
text - the text value to set.public List<String> links()
public SampleUtterance withLinks(List<String> links)
links - the links value to set.public String qid()
public SampleUtterance withQid(String qid)
qid - the qid value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.