你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
JSONRegexFeature 类
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. JSONRegexFeature
- com.
public class JSONRegexFeature
导出的模型 - 模式功能。
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
Boolean |
activated()
获取激活的值。 |
String |
name()
获取名称值。 |
String |
pattern()
获取模式值。 |
JSONRegex |
withActivated(Boolean activated)
设置激活的值。 |
JSONRegex |
withName(String name)
设置名称值。 |
JSONRegex |
withPattern(String pattern)
设置模式值。 |
方法详细信息
activated
public Boolean activated()
获取激活的值。
Returns:
激活的值
name
public String name()
获取名称值。
Returns:
名称值
pattern
public String pattern()
获取模式值。
Returns:
模式值
withActivated
public JSONRegexFeature withActivated(Boolean activated)
设置激活的值。
Parameters:
activated
- 要设置的激活值
Returns:
JSONRegexFeature 对象本身。
withName
public JSONRegexFeature withName(String name)
设置名称值。
Parameters:
name
- 要设置的名称值
Returns:
JSONRegexFeature 对象本身。
withPattern
public JSONRegexFeature withPattern(String pattern)
设置模式值。
Parameters:
pattern
- 要设置的模式值
Returns:
JSONRegexFeature 对象本身。