Class DeprecatedAttributes.Builder

    • Field Detail

      • description

        private java.lang.String description
        The description.
      • forRemoval

        private boolean forRemoval
        Whether this option is subject to removal in a future version.
        See Also:
        Deprecated.forRemoval
      • since

        private java.lang.String since
        The version in which the option became deprecated.
        See Also:
        Deprecated.since
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • setDescription

        public DeprecatedAttributes.Builder setDescription​(java.lang.String description)
        Sets the description.
        Parameters:
        description - the description.
        Returns:
        this.
      • setForRemoval

        public DeprecatedAttributes.Builder setForRemoval​(boolean forRemoval)
        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.
        See Also:
        Deprecated.forRemoval
      • setSince

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