你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PhraselistCreateObject 类

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

public class PhraselistCreateObject

用于创建短语列表模型的对象模型。

方法摘要

修饰符和类型 方法和描述
Boolean enabledForAllModels()

获取 enabledForAllModels 值。

Boolean isExchangeable()

获取 isExchangeable 值。

String name()

获取名称值。

String phrases()

获取短语值。

PhraselistCreateObject withEnabledForAllModels(Boolean enabledForAllModels)

设置 enabledForAllModels 值。

PhraselistCreateObject withIsExchangeable(Boolean isExchangeable)

设置 isExchangeable 值。

PhraselistCreateObject withName(String name)

设置名称值。

PhraselistCreateObject withPhrases(String phrases)

设置短语值。

方法详细信息

enabledForAllModels

public Boolean enabledForAllModels()

获取 enabledForAllModels 值。

Returns:

enabledForAllModels 值

isExchangeable

public Boolean isExchangeable()

获取 isExchangeable 值。

Returns:

isExchangeable 值

name

public String name()

获取名称值。

Returns:

名称值

phrases

public String phrases()

获取短语值。

Returns:

短语值

withEnabledForAllModels

public PhraselistCreateObject withEnabledForAllModels(Boolean enabledForAllModels)

设置 enabledForAllModels 值。

Parameters:

enabledForAllModels - 要设置的 enabledForAllModels 值

Returns:

PhraselistCreateObject 对象本身。

withIsExchangeable

public PhraselistCreateObject withIsExchangeable(Boolean isExchangeable)

设置 isExchangeable 值。

Parameters:

isExchangeable - 要设置的 isExchangeable 值

Returns:

PhraselistCreateObject 对象本身。

withName

public PhraselistCreateObject withName(String name)

设置名称值。

Parameters:

name - 要设置的名称值

Returns:

PhraselistCreateObject 对象本身。

withPhrases

public PhraselistCreateObject withPhrases(String phrases)

设置短语值。

Parameters:

phrases - 要设置的短语值

Returns:

PhraselistCreateObject 对象本身。

适用于