Class SampleUtterance
java.lang.Object
com.azure.resourcemanager.appservice.models.SampleUtterance
Sample utterance.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlinks()
Get the links property: Links attribute of sample utterance.qid()
Get the qid property: Question id of sample utterance (for stackoverflow questions titles).text()
Get the text property: Text attribute of sample utterance.void
validate()
Validates the instance.Set the links property: Links attribute of sample utterance.Set the qid property: Question id of sample utterance (for stackoverflow questions titles).Set the text property: Text attribute of sample utterance.
-
Constructor Details
-
SampleUtterance
public SampleUtterance()
-
-
Method Details
-
text
Get the text property: Text attribute of sample utterance.- Returns:
- the text value.
-
withText
Set the text property: Text attribute of sample utterance.- Parameters:
text
- the text value to set.- Returns:
- the SampleUtterance object itself.
-
links
Get the links property: Links attribute of sample utterance.- Returns:
- the links value.
-
withLinks
Set the links property: Links attribute of sample utterance.- Parameters:
links
- the links value to set.- Returns:
- the SampleUtterance object itself.
-
qid
Get the qid property: Question id of sample utterance (for stackoverflow questions titles).- Returns:
- the qid value.
-
withQid
Set the qid property: Question id of sample utterance (for stackoverflow questions titles).- Parameters:
qid
- the qid value to set.- Returns:
- the SampleUtterance object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-