共用方式為


PrebuiltEntityExtractor Class

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

public class PrebuiltEntityExtractor

Prebuilt Entity Extractor.

Method Summary

Modifier and Type Method and Description
UUID id()

Get the id value.

String name()

Get the name value.

String readableType()

Get the readableType value.

List<EntityRole> roles()

Get the roles value.

Integer typeId()

Get the typeId value.

PrebuiltEntityExtractor withId(UUID id)

Set the id value.

PrebuiltEntityExtractor withName(String name)

Set the name value.

PrebuiltEntityExtractor withReadableType(String readableType)

Set the readableType value.

PrebuiltEntityExtractor withRoles(List<EntityRole> roles)

Set the roles value.

PrebuiltEntityExtractor withTypeId(Integer typeId)

Set the typeId 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

readableType

public String readableType()

Get the readableType value.

Returns:

the readableType value

roles

public List roles()

Get the roles value.

Returns:

the roles value

typeId

public Integer typeId()

Get the typeId value.

Returns:

the typeId value

withId

public PrebuiltEntityExtractor withId(UUID id)

Set the id value.

Parameters:

id - the id value to set

Returns:

the PrebuiltEntityExtractor object itself.

withName

public PrebuiltEntityExtractor withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the PrebuiltEntityExtractor object itself.

withReadableType

public PrebuiltEntityExtractor withReadableType(String readableType)

Set the readableType value.

Parameters:

readableType - the readableType value to set

Returns:

the PrebuiltEntityExtractor object itself.

withRoles

public PrebuiltEntityExtractor withRoles(List roles)

Set the roles value.

Parameters:

roles - the roles value to set

Returns:

the PrebuiltEntityExtractor object itself.

withTypeId

public PrebuiltEntityExtractor withTypeId(Integer typeId)

Set the typeId value.

Parameters:

typeId - the typeId value to set

Returns:

the PrebuiltEntityExtractor object itself.

Applies to