Class RegexEntity
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.language.luis.authoring.models.RegexEntity
-
public class RegexEntity extends Object
Regular Expression Entity Extractor.
-
-
Constructor Summary
Constructors Constructor Description RegexEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Get the name value.String
regexPattern()
Get the regexPattern value.List<String>
roles()
Get the roles value.RegexEntity
withName(String name)
Set the name value.RegexEntity
withRegexPattern(String regexPattern)
Set the regexPattern value.RegexEntity
withRoles(List<String> roles)
Set the roles value.
-
-
-
Method Detail
-
name
public String name()
Get the name value.- Returns:
- the name value
-
withName
public RegexEntity withName(String name)
Set the name value.- Parameters:
name
- the name value to set- Returns:
- the RegexEntity object itself.
-
regexPattern
public String regexPattern()
Get the regexPattern value.- Returns:
- the regexPattern value
-
withRegexPattern
public RegexEntity withRegexPattern(String regexPattern)
Set the regexPattern value.- Parameters:
regexPattern
- the regexPattern value to set- Returns:
- the RegexEntity object itself.
-
withRoles
public RegexEntity withRoles(List<String> roles)
Set the roles value.- Parameters:
roles
- the roles value to set- Returns:
- the RegexEntity object itself.
-
-