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

PublishSettingUpdateObject 类

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

public class PublishSettingUpdateObject

用于更新应用程序的发布设置的对象模型。

方法摘要

修饰符和类型 方法和描述
boolean sentimentAnalysis()

获取 sentimentAnalysis 值。

boolean speech()

获取语音值。

boolean spellChecker()

获取 spellChecker 值。

PublishSettingUpdateObject withSentimentAnalysis(boolean sentimentAnalysis)

设置 sentimentAnalysis 值。

PublishSettingUpdateObject withSpeech(boolean speech)

设置语音值。

PublishSettingUpdateObject withSpellChecker(boolean spellChecker)

设置 spellChecker 值。

方法详细信息

sentimentAnalysis

public boolean sentimentAnalysis()

获取 sentimentAnalysis 值。

Returns:

sentimentAnalysis 值

speech

public boolean speech()

获取语音值。

Returns:

语音值

spellChecker

public boolean spellChecker()

获取 spellChecker 值。

Returns:

spellChecker 值

withSentimentAnalysis

public PublishSettingUpdateObject withSentimentAnalysis(boolean sentimentAnalysis)

设置 sentimentAnalysis 值。

Parameters:

sentimentAnalysis - 要设置的 sentimentAnalysis 值

Returns:

PublishSettingUpdateObject 对象本身。

withSpeech

public PublishSettingUpdateObject withSpeech(boolean speech)

设置语音值。

Parameters:

speech - 要设置的语音值

Returns:

PublishSettingUpdateObject 对象本身。

withSpellChecker

public PublishSettingUpdateObject withSpellChecker(boolean spellChecker)

设置 spellChecker 值。

Parameters:

spellChecker - 要设置的 spellChecker 值

Returns:

PublishSettingUpdateObject 对象本身。

适用于