Delen via


RegexModelUpdateObject Class

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

public class RegexModelUpdateObject

Model object for updating 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.

RegexModelUpdateObject withName(String name)

Set the name value.

RegexModelUpdateObject 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 RegexModelUpdateObject withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the RegexModelUpdateObject object itself.

withRegexPattern

public RegexModelUpdateObject withRegexPattern(String regexPattern)

Set the regexPattern value.

Parameters:

regexPattern - the regexPattern value to set

Returns:

the RegexModelUpdateObject object itself.

Applies to