你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RegexModelUpdateObject Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. RegexModelUpdateObject
- com.
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. |
Regex |
withName(String name)
Set the name value. |
Regex |
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.