PrebuiltEntityExtractor Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. PrebuiltEntityExtractor
- com.
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<Entity |
roles()
Get the roles value. |
Integer |
typeId()
Get the typeId value. |
Prebuilt |
withId(UUID id)
Set the id value. |
Prebuilt |
withName(String name)
Set the name value. |
Prebuilt |
withReadableType(String readableType)
Set the readableType value. |
Prebuilt |
withRoles(List<EntityRole> roles)
Set the roles value. |
Prebuilt |
withTypeId(Integer typeId)
Set the typeId value. |
Method Details
id
public UUID id()
Get the id value.
Returns:
name
public String name()
Get the name value.
Returns:
readableType
public String readableType()
Get the readableType value.
Returns:
roles
public List
Get the roles value.
Returns:
typeId
public Integer typeId()
Get the typeId value.
Returns:
withId
public PrebuiltEntityExtractor withId(UUID id)
Set the id value.
Parameters:
Returns:
withName
public PrebuiltEntityExtractor withName(String name)
Set the name value.
Parameters:
Returns:
withReadableType
public PrebuiltEntityExtractor withReadableType(String readableType)
Set the readableType value.
Parameters:
Returns:
withRoles
public PrebuiltEntityExtractor withRoles(List
Set the roles value.
Parameters:
Returns:
withTypeId
public PrebuiltEntityExtractor withTypeId(Integer typeId)
Set the typeId value.
Parameters:
Returns: