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