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
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