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

EntityRole Class

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

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.

EntityRole withId(UUID id)

Set the id value.

EntityRole 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