Interface IAddDescriptorAtKey


public interface IAddDescriptorAtKey
Since:
8.5.0
  • Method Details

    • descriptionKey

      IAddDescriptorAtKey descriptionKey(String description)
      Overrides the label for the field. Interprets the description as a message key that is localized using the provided localizer.
      Parameters:
      description - The label for the field.
      Returns:
      This builder instance for chaining method calls.
    • descriptionLiteral

      IAddDescriptorAtKey descriptionLiteral(String description)
      Overrides the description for the field. Interprets the description as a literal string that is not localized.
      Parameters:
      description - The description for the field.
      Returns:
      This builder instance for chaining method calls.
    • labelKey

      IAddDescriptorAtKey labelKey(String label)
      Overrides the label for the field. Interprets the label as a message key that is localized using the provided localizer.
      Parameters:
      label - The label for the field.
      Returns:
      This builder instance for chaining method calls.
    • labelLiteral

      IAddDescriptorAtKey labelLiteral(String label)
      Overrides the label for the field. Interprets the label as a literal string that is not localized.
      Parameters:
      label - The label for the field.
      Returns:
      This builder instance for chaining method calls.
    • required

      IAddDescriptorAtKey required(boolean required)
      Sets whether the field is required. A non-required field can be removed from the configuration.
      Parameters:
      required - true if the field is required, false otherwise.
      Returns:
      This builder instance for chaining method calls.