RegexModelCreateObject Class

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

public class RegexModelCreateObject

Model object for creating a regular expression entity model.

Method Summary

Modifier and Type Method and Description
String name()

Get the name value.

String regexPattern()

Get the regexPattern value.

RegexModelCreateObject withName(String name)

Set the name value.

RegexModelCreateObject withRegexPattern(String regexPattern)

Set the regexPattern 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

withName

public RegexModelCreateObject withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the RegexModelCreateObject object itself.

withRegexPattern

public RegexModelCreateObject withRegexPattern(String regexPattern)

Set the regexPattern value.

Parameters:

regexPattern - the regexPattern value to set

Returns:

the RegexModelCreateObject object itself.

Applies to