Class ExampleLabelObject
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ExampleLabelObject
-
public class ExampleLabelObject extends Object
A labeled example utterance.
-
-
Constructor Summary
Constructors Constructor Description ExampleLabelObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<EntityLabelObject>
entityLabels()
Get the entityLabels value.String
intentName()
Get the intentName value.String
text()
Get the text value.ExampleLabelObject
withEntityLabels(List<EntityLabelObject> entityLabels)
Set the entityLabels value.ExampleLabelObject
withIntentName(String intentName)
Set the intentName value.ExampleLabelObject
withText(String text)
Set the text value.
-
-
-
Method Detail
-
text
public String text()
Get the text value.- Returns:
- the text value
-
withText
public ExampleLabelObject withText(String text)
Set the text value.- Parameters:
text
- the text value to set- Returns:
- the ExampleLabelObject object itself.
-
entityLabels
public List<EntityLabelObject> entityLabels()
Get the entityLabels value.- Returns:
- the entityLabels value
-
withEntityLabels
public ExampleLabelObject withEntityLabels(List<EntityLabelObject> entityLabels)
Set the entityLabels value.- Parameters:
entityLabels
- the entityLabels value to set- Returns:
- the ExampleLabelObject object itself.
-
intentName
public String intentName()
Get the intentName value.- Returns:
- the intentName value
-
withIntentName
public ExampleLabelObject withIntentName(String intentName)
Set the intentName value.- Parameters:
intentName
- the intentName value to set- Returns:
- the ExampleLabelObject object itself.
-
-