# Class DeprecatedAttributes.Builder

java.lang.Object
org.apache.commons.cli.DeprecatedAttributes.Builder

All Implemented Interfaces:
  `Supplier<DeprecatedAttributes>`

Enclosing class:
  `DeprecatedAttributes`

public static class DeprecatedAttributes.Builder extends Object implements Supplier<DeprecatedAttributes>
Builds `DeprecatedAttributes`.

Since:
  1.7.0

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Builder()`
  Deprecated.
  Use `DeprecatedAttributes.builder()`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DeprecatedAttributes`
  `get()`
  `DeprecatedAttributes.Builder`
  `setDescription(String description)`
  Sets the description.
  `DeprecatedAttributes.Builder`
  `setForRemoval(boolean forRemoval)`
  Sets whether this option is subject to removal in a future version.
  `DeprecatedAttributes.Builder`
  `setSince(String since)`
  Sets the version in which the option became deprecated.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Builder

    @Deprecated public Builder()
    Deprecated.
    Use `DeprecatedAttributes.builder()`.
    Constructs a new instance.

- ## Method Details

  - ### get

    public DeprecatedAttributes get()
    Specified by:
      `get` in interface `Supplier<DeprecatedAttributes>`

  - ### setDescription

    public DeprecatedAttributes.Builder setDescription(String description)
    Sets the description.
    Parameters:
      `description` - the description.
    Returns:
      `this` instance.

  - ### setForRemoval

    public DeprecatedAttributes.Builder setForRemoval(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:
      - Deprecated.forRemoval

  - ### setSince

    public DeprecatedAttributes.Builder setSince(String since)
    Sets the version in which the option became deprecated.
    Parameters:
      `since` - the version in which the option became deprecated.
    Returns:
      `this` instance.