Partager via


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