PatternAnyEntityExtractor Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. PatternAnyEntityExtractor
- com.
public class PatternAnyEntityExtractor
Pattern.Any Entity Extractor.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Explicit |
explicitList()
Get the explicitList value. |
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. |
Pattern |
withExplicitList(List<ExplicitListItem> explicitList)
Set the explicitList value. |
Pattern |
withId(UUID id)
Set the id value. |
Pattern |
withName(String name)
Set the name value. |
Pattern |
withReadableType(String readableType)
Set the readableType value. |
Pattern |
withRoles(List<EntityRole> roles)
Set the roles value. |
Pattern |
withTypeId(Integer typeId)
Set the typeId value. |
Method Details
explicitList
public List
Get the explicitList value.
Returns:
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:
withExplicitList
public PatternAnyEntityExtractor withExplicitList(List
Set the explicitList value.
Parameters:
Returns:
withId
public PatternAnyEntityExtractor withId(UUID id)
Set the id value.
Parameters:
Returns:
withName
public PatternAnyEntityExtractor withName(String name)
Set the name value.
Parameters:
Returns:
withReadableType
public PatternAnyEntityExtractor withReadableType(String readableType)
Set the readableType value.
Parameters:
Returns:
withRoles
public PatternAnyEntityExtractor withRoles(List
Set the roles value.
Parameters:
Returns:
withTypeId
public PatternAnyEntityExtractor withTypeId(Integer typeId)
Set the typeId value.
Parameters:
Returns:
Applies to
Azure SDK for Java