Class AbstractDMIBaseboard
java.lang.Object
io.github.eggy03.dmidecode.entity.board.AbstractDMIBaseboard
- Direct Known Subclasses:
DMIBaseboard,DMIBaseboard.Json
Immutable representation of a baseboard (motherboard) device retrieved via DMI.
Fields correspond to properties reported by dmidecode for the Base Board
(Type 2) SMBIOS structure.
Instances of this class are thread-safe.
Usage example
DMIBaseboard board = new DMIBaseboard.Builder()
.manufacturer("ASUSTeK COMPUTER INC.")
.productName("PRIME B550M-A")
.serialNumber("ABC123456")
.build();
// Create a modified copy
DMIBaseboard updated = board
.withSerialNumber("XYZ987654")
.withProductName("PRIME A320");
- Since:
- 0.2.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract @Nullable StringassetTag()abstract @Nullable Stringabstract @Nullable Integerfeatures()abstract @Nullable Stringabstract @Nullable Stringabstract @Nullable Stringabstract @Nullable StringtoString()abstract @Nullable Stringtype()abstract @Nullable Stringversion()