class Xs2aToSpiPsuDataMapper {

    public SpiPsuData mapToSpiPsuData(PsuIdData psuIdData) {
        return Optional.ofNullable(psuIdData)
                   .map(this::builderWithPsuData)
                   .orElseGet(SpiPsuData::builder)
                   .build();
    }

}