Package io.aiven.commons.kafka.config
Class DeprecatedInfo.Builder
java.lang.Object
io.aiven.commons.kafka.config.DeprecatedInfo.Builder
- Enclosing class:
- DeprecatedInfo
The Builder for
DeprecatedInfo.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates the DeprecatedInfodescription(String description) Sets the description.forRemoval(boolean forRemoval) Sets whether this option is subject to removal in a future version.Sets the version in which the option became deprecated.since(SinceInfo.Builder sinceBuilder) Sets the version in which the option became deprecated.
-
Method Details
-
build
Creates the DeprecatedInfo- Returns:
- a new DeprecatedInfo
-
description
Sets the description.- Parameters:
description- the description.- Returns:
thisinstance.
-
forRemoval
Sets whether this option is subject to removal in a future version.- Parameters:
forRemoval- whether this is subject to removal in a future version.- Returns:
thisinstance.- See Also:
-
since
Sets the version in which the option became deprecated.- Parameters:
since- the version in which the option became deprecated.- Returns:
thisinstance.
-
since
Sets the version in which the option became deprecated.- Parameters:
sinceBuilder- the builder for the version in which the option became deprecated.- Returns:
thisinstance.
-