PrebuiltEntityExtractor Classe
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. PrebuiltEntityExtractor
- com.
public class PrebuiltEntityExtractor
Extrator de entidade predefinido.
Resumo do método
Modificador e tipo | Método e descrição |
---|---|
UUID |
id()
Obtenha o valor da ID. |
String |
name()
Obtenha o valor do nome. |
String |
readableType()
Obtenha o valor readableType. |
List<Entity |
roles()
Obter o valor das funções. |
Integer |
typeId()
Obtenha o valor typeId. |
Prebuilt |
withId(UUID id)
Defina o valor da ID. |
Prebuilt |
withName(String name)
Defina o valor do nome. |
Prebuilt |
withReadableType(String readableType)
Defina o valor readableType. |
Prebuilt |
withRoles(List<EntityRole> roles)
Defina o valor das funções. |
Prebuilt |
withTypeId(Integer typeId)
Defina o valor typeId. |
Detalhes do método
id
public UUID id()
Obtenha o valor da ID.
Returns:
name
public String name()
Obtenha o valor do nome.
Returns:
readableType
public String readableType()
Obtenha o valor readableType.
Returns:
roles
public List
Obter o valor das funções.
Returns:
typeId
public Integer typeId()
Obtenha o valor typeId.
Returns:
withId
public PrebuiltEntityExtractor withId(UUID id)
Defina o valor da ID.
Parameters:
Returns:
withName
public PrebuiltEntityExtractor withName(String name)
Defina o valor do nome.
Parameters:
Returns:
withReadableType
public PrebuiltEntityExtractor withReadableType(String readableType)
Defina o valor readableType.
Parameters:
Returns:
withRoles
public PrebuiltEntityExtractor withRoles(List
Defina o valor das funções.
Parameters:
Returns:
withTypeId
public PrebuiltEntityExtractor withTypeId(Integer typeId)
Defina o valor typeId.
Parameters:
Returns:
Aplica-se a
Azure SDK for Java