Class SampleUtterance

java.lang.Object
com.azure.resourcemanager.appservice.models.SampleUtterance

public final class SampleUtterance extends Object
Sample utterance.
  • Constructor Details

    • SampleUtterance

      public SampleUtterance()
  • Method Details

    • text

      public String text()
      Get the text property: Text attribute of sample utterance.
      Returns:
      the text value.
    • withText

      public SampleUtterance withText(String text)
      Set the text property: Text attribute of sample utterance.
      Parameters:
      text - the text value to set.
      Returns:
      the SampleUtterance object itself.
    • links

      public List<String> links()
      Get the links property: Links attribute of sample utterance.
      Returns:
      the links value.
    • withLinks

      public SampleUtterance withLinks(List<String> links)
      Set the links property: Links attribute of sample utterance.
      Parameters:
      links - the links value to set.
      Returns:
      the SampleUtterance object itself.
    • qid

      public String qid()
      Get the qid property: Question id of sample utterance (for stackoverflow questions titles).
      Returns:
      the qid value.
    • withQid

      public SampleUtterance withQid(String qid)
      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.