java.lang.Object
io.github.eggy03.ferrumx.windows.entity.mainboard.MainboardPort

public class MainboardPort extends Object
Immutable representation of a motherboard port on a Windows system.

Fields correspond to properties retrieved from the Win32_PortConnector WMI class.

Instances are inherently thread-safe and may be safely cached or shared across threads.

Usage example


 MainboardPort port = MainboardPort.builder()
     .externalReferenceDesignator("USB3_0")
     .build();

 // Create a modified copy
 MainboardPort updated = port.toBuilder()
     .externalReferenceDesignator("USB3_1")
     .build();
 
Mainboard contains the details of the motherboard this port belongs to.
Since:
2.0.0
Author:
Egg-03
See Also:
  • Constructor Details

    • MainboardPort

      public MainboardPort()
  • Method Details