PublishSettings Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. PublishSettings
- com.
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. |
Publish |
withId(UUID id)
Set the id value. |
Publish |
withIsSentimentAnalysisEnabled(boolean isSentimentAnalysisEnabled)
Set the isSentimentAnalysisEnabled value. |
Publish |
withIsSpeechEnabled(boolean isSpeechEnabled)
Set the isSpeechEnabled value. |
Publish |
withIsSpellCheckerEnabled(boolean isSpellCheckerEnabled)
Set the isSpellCheckerEnabled value. |
Method Details
id
public UUID id()
Get the id value.
Returns:
isSentimentAnalysisEnabled
public boolean isSentimentAnalysisEnabled()
Get the isSentimentAnalysisEnabled value.
Returns:
isSpeechEnabled
public boolean isSpeechEnabled()
Get the isSpeechEnabled value.
Returns:
isSpellCheckerEnabled
public boolean isSpellCheckerEnabled()
Get the isSpellCheckerEnabled value.
Returns:
withId
public PublishSettings withId(UUID id)
Set the id value.
Parameters:
Returns:
withIsSentimentAnalysisEnabled
public PublishSettings withIsSentimentAnalysisEnabled(boolean isSentimentAnalysisEnabled)
Set the isSentimentAnalysisEnabled value.
Parameters:
Returns:
withIsSpeechEnabled
public PublishSettings withIsSpeechEnabled(boolean isSpeechEnabled)
Set the isSpeechEnabled value.
Parameters:
Returns:
withIsSpellCheckerEnabled
public PublishSettings withIsSpellCheckerEnabled(boolean isSpellCheckerEnabled)
Set the isSpellCheckerEnabled value.
Parameters:
Returns:
Applies to
Azure SDK for Java