@InterfaceStability.Evolving public class AlterConfigsOptions extends AbstractOptions<AlterConfigsOptions>
Admin.incrementalAlterConfigs(Map)
and Admin.alterConfigs(Map)
.
The API of this class is evolving, see Admin
for details.timeoutMs
Constructor and Description |
---|
AlterConfigsOptions() |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldValidateOnly()
Return true if the request should be validated without altering the configs.
|
AlterConfigsOptions |
timeoutMs(java.lang.Integer timeoutMs)
Set the timeout in milliseconds for this operation or
null if the default api timeout for the
AdminClient should be used. |
AlterConfigsOptions |
validateOnly(boolean validateOnly)
Set to true if the request should be validated without altering the configs.
|
timeoutMs
public AlterConfigsOptions timeoutMs(java.lang.Integer timeoutMs)
null
if the default api timeout for the
AdminClient should be used.timeoutMs
in class AbstractOptions<AlterConfigsOptions>
public boolean shouldValidateOnly()
public AlterConfigsOptions validateOnly(boolean validateOnly)