Class PublishSettings
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.language.luis.authoring.models.PublishSettings
-
public class PublishSettings extends Object
The application publish settings.
-
-
Constructor Summary
Constructors Constructor Description PublishSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 Detail
-
id
public UUID id()
Get the id value.- Returns:
- the id value
-
withId
public PublishSettings withId(UUID id)
Set the id value.- Parameters:
id
- the id value to set- Returns:
- the PublishSettings object itself.
-
isSentimentAnalysisEnabled
public boolean isSentimentAnalysisEnabled()
Get the isSentimentAnalysisEnabled value.- Returns:
- the isSentimentAnalysisEnabled value
-
withIsSentimentAnalysisEnabled
public PublishSettings withIsSentimentAnalysisEnabled(boolean isSentimentAnalysisEnabled)
Set the isSentimentAnalysisEnabled value.- Parameters:
isSentimentAnalysisEnabled
- the isSentimentAnalysisEnabled value to set- Returns:
- the PublishSettings object itself.
-
isSpeechEnabled
public boolean isSpeechEnabled()
Get the isSpeechEnabled value.- Returns:
- the isSpeechEnabled value
-
withIsSpeechEnabled
public PublishSettings withIsSpeechEnabled(boolean isSpeechEnabled)
Set the isSpeechEnabled value.- Parameters:
isSpeechEnabled
- the isSpeechEnabled value to set- Returns:
- the PublishSettings object itself.
-
isSpellCheckerEnabled
public boolean isSpellCheckerEnabled()
Get the isSpellCheckerEnabled value.- Returns:
- the isSpellCheckerEnabled value
-
withIsSpellCheckerEnabled
public PublishSettings withIsSpellCheckerEnabled(boolean isSpellCheckerEnabled)
Set the isSpellCheckerEnabled value.- Parameters:
isSpellCheckerEnabled
- the isSpellCheckerEnabled value to set- Returns:
- the PublishSettings object itself.
-
-