Class PrebuiltEntity
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.language.luis.authoring.models.PrebuiltEntity
-
public class PrebuiltEntity extends Object
Prebuilt Entity Extractor.
-
-
Constructor Summary
Constructors Constructor Description PrebuiltEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Get the name value.List<String>
roles()
Get the roles value.PrebuiltEntity
withName(String name)
Set the name value.PrebuiltEntity
withRoles(List<String> roles)
Set the roles value.
-
-
-
Method Detail
-
name
public String name()
Get the name value.- Returns:
- the name value
-
withName
public PrebuiltEntity withName(String name)
Set the name value.- Parameters:
name
- the name value to set- Returns:
- the PrebuiltEntity object itself.
-
withRoles
public PrebuiltEntity withRoles(List<String> roles)
Set the roles value.- Parameters:
roles
- the roles value to set- Returns:
- the PrebuiltEntity object itself.
-
-