LabelExampleResponse Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. LabelExampleResponse
- com.
public class LabelExampleResponse
Response when adding a labeled example utterance.
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
exampleId()
Get the exampleId value. |
String |
utteranceText()
Get the utteranceText value. |
Label |
withExampleId(Integer exampleId)
Set the exampleId value. |
Label |
withUtteranceText(String utteranceText)
Set the utteranceText value. |
Method Details
exampleId
public Integer exampleId()
Get the exampleId value.
Returns:
the exampleId value
utteranceText
public String utteranceText()
Get the utteranceText value.
Returns:
the utteranceText value
withExampleId
public LabelExampleResponse withExampleId(Integer exampleId)
Set the exampleId value.
Parameters:
exampleId
- the exampleId value to set
Returns:
the LabelExampleResponse object itself.
withUtteranceText
public LabelExampleResponse withUtteranceText(String utteranceText)
Set the utteranceText value.
Parameters:
utteranceText
- the utteranceText value to set
Returns:
the LabelExampleResponse object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java