Class DeprecatedInfo.Builder

java.lang.Object
io.aiven.commons.kafka.config.DeprecatedInfo.Builder
Enclosing class:
DeprecatedInfo

public static class DeprecatedInfo.Builder extends Object
The Builder for DeprecatedInfo.
  • Method Details

    • build

      public DeprecatedInfo build()
      Creates the DeprecatedInfo
      Returns:
      a new DeprecatedInfo
    • description

      public DeprecatedInfo.Builder description(String description)
      Sets the description.
      Parameters:
      description - the description.
      Returns:
      this instance.
    • forRemoval

      public DeprecatedInfo.Builder forRemoval(boolean 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:
      this instance.
      See Also:
    • since

      public DeprecatedInfo.Builder since(SinceInfo since)
      Sets the version in which the option became deprecated.
      Parameters:
      since - the version in which the option became deprecated.
      Returns:
      this instance.
    • since

      public DeprecatedInfo.Builder since(SinceInfo.Builder sinceBuilder)
      Sets the version in which the option became deprecated.
      Parameters:
      sinceBuilder - the builder for the version in which the option became deprecated.
      Returns:
      this instance.