# Interface CLNSectionWritableMetadataType

All Superinterfaces:
  `AutoCloseable, CLNSectionWritableStandardType, CLNSectionWritableType, Closeable`

All Known Implementing Classes:
  `CLN1SectionWritableMetadata`

public non-sealed interface CLNSectionWritableMetadataType extends CLNSectionWritableStandardType
A writable metadata section.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `setMetadata(Map<String, List<String>> metadata)`
  Set the keys and values.

  ### Methods inherited from interface CLNSectionWritableType

  `identifier, sectionDataChannel`

  ### Methods inherited from interface Closeable

  `close`

- ## Method Details

  - ### setMetadata

    void setMetadata(Map<String, List<String>> metadata) throws IOException
    Set the keys and values.
    Parameters:
      `metadata` - The metadata
    Throws:
      `IOException` - On errors