public class CheckConfigurationBuilder extends Object
CheckConfiguration
.Constructor and Description |
---|
CheckConfigurationBuilder()
A configuration that causes the server to automatically detected the text language.
|
CheckConfigurationBuilder(String langCode) |
Modifier and Type | Method and Description |
---|---|
CheckConfigurationBuilder |
apiKey(String apiKey) |
CheckConfiguration |
build() |
CheckConfigurationBuilder |
disabledRuleIds(List<String> ruleIds) |
CheckConfigurationBuilder |
disabledRuleIds(String... ruleIds) |
CheckConfigurationBuilder |
enabledOnly() |
CheckConfigurationBuilder |
enabledRuleIds(List<String> ruleIds) |
CheckConfigurationBuilder |
enabledRuleIds(String... ruleIds) |
CheckConfigurationBuilder |
level(String level) |
CheckConfigurationBuilder |
mode(String mode) |
CheckConfigurationBuilder |
ruleValues(List<String> ruleValues) |
CheckConfigurationBuilder |
setMotherTongueLangCode(String motherTongueLangCode) |
CheckConfigurationBuilder |
textSessionID(String textSessionID) |
CheckConfigurationBuilder |
username(String username) |
public CheckConfigurationBuilder(String langCode)
langCode
- a language code like en
or en-US
public CheckConfigurationBuilder()
public CheckConfiguration build()
public CheckConfigurationBuilder setMotherTongueLangCode(String motherTongueLangCode)
public CheckConfigurationBuilder enabledRuleIds(List<String> ruleIds)
public CheckConfigurationBuilder enabledRuleIds(String... ruleIds)
public CheckConfigurationBuilder enabledOnly()
public CheckConfigurationBuilder disabledRuleIds(List<String> ruleIds)
public CheckConfigurationBuilder disabledRuleIds(String... ruleIds)
public CheckConfigurationBuilder mode(String mode)
public CheckConfigurationBuilder level(String level)
public CheckConfigurationBuilder ruleValues(List<String> ruleValues)
public CheckConfigurationBuilder textSessionID(String textSessionID)
public CheckConfigurationBuilder username(String username)
public CheckConfigurationBuilder apiKey(String apiKey)