Class PrebuiltEntityExtractor
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.language.luis.authoring.models.PrebuiltEntityExtractor
-
public class PrebuiltEntityExtractor extends Object
Prebuilt Entity Extractor.
-
-
Constructor Summary
Constructors Constructor Description PrebuiltEntityExtractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 Detail
-
id
public UUID id()
Get the id value.- Returns:
- the id value
-
withId
public PrebuiltEntityExtractor withId(UUID id)
Set the id value.- Parameters:
id
- the id value to set- Returns:
- the PrebuiltEntityExtractor object itself.
-
name
public String name()
Get the name value.- Returns:
- the name value
-
withName
public PrebuiltEntityExtractor withName(String name)
Set the name value.- Parameters:
name
- the name value to set- Returns:
- the PrebuiltEntityExtractor object itself.
-
typeId
public Integer typeId()
Get the typeId value.- Returns:
- the typeId value
-
withTypeId
public PrebuiltEntityExtractor withTypeId(Integer typeId)
Set the typeId value.- Parameters:
typeId
- the typeId value to set- Returns:
- the PrebuiltEntityExtractor object itself.
-
readableType
public String readableType()
Get the readableType value.- Returns:
- the readableType value
-
withReadableType
public PrebuiltEntityExtractor withReadableType(String readableType)
Set the readableType value.- Parameters:
readableType
- the readableType value to set- Returns:
- the PrebuiltEntityExtractor object itself.
-
roles
public List<EntityRole> roles()
Get the roles value.- Returns:
- the roles value
-
withRoles
public PrebuiltEntityExtractor withRoles(List<EntityRole> roles)
Set the roles value.- Parameters:
roles
- the roles value to set- Returns:
- the PrebuiltEntityExtractor object itself.
-
-