EntityRole Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. EntityRole
- com.
public class EntityRole
Entity extractor role.
Method Summary
Modifier and Type | Method and Description |
---|---|
UUID |
id()
Get the id value. |
String |
name()
Get the name value. |
Entity |
withId(UUID id)
Set the id value. |
Entity |
withName(String name)
Set the name value. |
Method Details
id
public UUID id()
Get the id value.
Returns:
the id value
name
public String name()
Get the name value.
Returns:
the name value
withId
public EntityRole withId(UUID id)
Set the id value.
Parameters:
id
- the id value to set
Returns:
the EntityRole object itself.
withName
public EntityRole withName(String name)
Set the name value.
Parameters:
name
- the name value to set
Returns:
the EntityRole object itself.
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für