RegexEntity Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. RegexEntity
- com.
public class RegexEntity
Regular Expression Entity Extractor.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name value. |
String |
regexPattern()
Get the regexPattern value. |
List<String> |
roles()
Get the roles value. |
Regex |
withName(String name)
Set the name value. |
Regex |
withRegexPattern(String regexPattern)
Set the regexPattern value. |
Regex |
withRoles(List<String> roles)
Set the roles value. |
Method Details
name
public String name()
Get the name value.
Returns:
regexPattern
public String regexPattern()
Get the regexPattern value.
Returns:
roles
public List
Get the roles value.
Returns:
withName
public RegexEntity withName(String name)
Set the name value.
Parameters:
Returns:
withRegexPattern
public RegexEntity withRegexPattern(String regexPattern)
Set the regexPattern value.
Parameters:
Returns:
withRoles
public RegexEntity withRoles(List
Set the roles value.
Parameters:
Returns:
Applies to
Azure SDK for Java