Partager via


PublishSettings Class

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

public class PublishSettings

The application publish settings.

Method Summary

Modifier and Type Method and Description
UUID id()

Get the id value.

boolean isSentimentAnalysisEnabled()

Get the isSentimentAnalysisEnabled value.

boolean isSpeechEnabled()

Get the isSpeechEnabled value.

boolean isSpellCheckerEnabled()

Get the isSpellCheckerEnabled value.

PublishSettings withId(UUID id)

Set the id value.

PublishSettings withIsSentimentAnalysisEnabled(boolean isSentimentAnalysisEnabled)

Set the isSentimentAnalysisEnabled value.

PublishSettings withIsSpeechEnabled(boolean isSpeechEnabled)

Set the isSpeechEnabled value.

PublishSettings withIsSpellCheckerEnabled(boolean isSpellCheckerEnabled)

Set the isSpellCheckerEnabled value.

Method Details

id

public UUID id()

Get the id value.

Returns:

the id value

isSentimentAnalysisEnabled

public boolean isSentimentAnalysisEnabled()

Get the isSentimentAnalysisEnabled value.

Returns:

the isSentimentAnalysisEnabled value

isSpeechEnabled

public boolean isSpeechEnabled()

Get the isSpeechEnabled value.

Returns:

the isSpeechEnabled value

isSpellCheckerEnabled

public boolean isSpellCheckerEnabled()

Get the isSpellCheckerEnabled value.

Returns:

the isSpellCheckerEnabled value

withId

public PublishSettings withId(UUID id)

Set the id value.

Parameters:

id - the id value to set

Returns:

the PublishSettings object itself.

withIsSentimentAnalysisEnabled

public PublishSettings withIsSentimentAnalysisEnabled(boolean isSentimentAnalysisEnabled)

Set the isSentimentAnalysisEnabled value.

Parameters:

isSentimentAnalysisEnabled - the isSentimentAnalysisEnabled value to set

Returns:

the PublishSettings object itself.

withIsSpeechEnabled

public PublishSettings withIsSpeechEnabled(boolean isSpeechEnabled)

Set the isSpeechEnabled value.

Parameters:

isSpeechEnabled - the isSpeechEnabled value to set

Returns:

the PublishSettings object itself.

withIsSpellCheckerEnabled

public PublishSettings withIsSpellCheckerEnabled(boolean isSpellCheckerEnabled)

Set the isSpellCheckerEnabled value.

Parameters:

isSpellCheckerEnabled - the isSpellCheckerEnabled value to set

Returns:

the PublishSettings object itself.

Applies to