RegexEntityExtractor Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.luis.authoring.models.RegexEntityExtractor

public class RegexEntityExtractor

Regular Expression Entity Extractor.

Method Summary

Modifier and Type Method and 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 Details

id

public UUID id()

Get the id value.

Returns:

the id value

name

public String name()

Get the name value.

Returns:

the name value

readableType

public String readableType()

Get the readableType value.

Returns:

the readableType value

regexPattern

public String regexPattern()

Get the regexPattern value.

Returns:

the regexPattern value

roles

public List roles()

Get the roles value.

Returns:

the roles value

typeId

public Integer typeId()

Get the typeId value.

Returns:

the typeId value

withId

public RegexEntityExtractor withId(UUID id)

Set the id value.

Parameters:

id - the id value to set

Returns:

the RegexEntityExtractor object itself.

withName

public RegexEntityExtractor withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the RegexEntityExtractor object itself.

withReadableType

public RegexEntityExtractor withReadableType(String readableType)

Set the readableType value.

Parameters:

readableType - the readableType value to set

Returns:

the RegexEntityExtractor object itself.

withRegexPattern

public RegexEntityExtractor withRegexPattern(String regexPattern)

Set the regexPattern value.

Parameters:

regexPattern - the regexPattern value to set

Returns:

the RegexEntityExtractor object itself.

withRoles

public RegexEntityExtractor withRoles(List roles)

Set the roles value.

Parameters:

roles - the roles value to set

Returns:

the RegexEntityExtractor object itself.

withTypeId

public RegexEntityExtractor withTypeId(Integer typeId)

Set the typeId value.

Parameters:

typeId - the typeId value to set

Returns:

the RegexEntityExtractor object itself.

Applies to