你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PrebuiltEntity Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.luis.authoring.models.PrebuiltEntity

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.

PrebuiltEntity withName(String name)

Set the name value.

PrebuiltEntity 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 roles()

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

Set the roles value.

Parameters:

roles - the roles value to set

Returns:

the PrebuiltEntity object itself.

Applies to