Where is documentation on key/vals used in definition of ContentEntity?

Hi, where is documentation for key/vals below or what are called those key/val values so I could find their documentation?
I mean the key/vals in “setSettings” and “setDisplayOptions”.

        $fields['name'] = BaseFieldDefinition::create('string')
                ->setLabel(t('First name and Last name'))
                ->setSettings([
                    'default_value' => '',
                    'max_length' => 255,
                    'text_processing' => 0,
                ])
                ->setDisplayOptions('view', [
                    'label' => 'above',
                    'type' => 'string',
                    'weight' => -5,
                ])
Drupal version: 


Source: https://www.drupal.org/taxonomy/term/4/feed