Interface AllowedExtension.Builder

  • Method Details

    • extension

      AllowedExtension.Builder extension(String extension)

      The file extension. The extension must be between 1 and 10 characters and can contain only alphanumeric characters, hyphens, and underscores.

      Parameters:
      extension - The file extension. The extension must be between 1 and 10 characters and can contain only alphanumeric characters, hyphens, and underscores.
      Returns:
      Returns a reference to this object so that method calls can be chained together.