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