PrebuiltEntity Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. PrebuiltEntity
- com.
public class PrebuiltEntity
Prebuilt Entity Extractor.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name value. |
List<String> |
roles()
Get the roles value. |
Prebuilt |
withName(String name)
Set the name value. |
Prebuilt |
withRoles(List<String> roles)
Set the roles value. |
Method Details
name
public String name()
Get the name value.
Returns:
the name value
roles
public List
Get the roles value.
Returns:
the roles 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
Set the roles value.
Parameters:
roles
- the roles value to set
Returns:
the PrebuiltEntity object itself.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for Java