共用方式為


RegexEntity Class

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

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.

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 Details

name

public String name()

Get the name value.

Returns:

the name 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

withName

public RegexEntity withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the RegexEntity object itself.

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 roles)

Set the roles value.

Parameters:

roles - the roles value to set

Returns:

the RegexEntity object itself.

Applies to