class ResultApiRequestDataBuildUpdater implements AttemptAuditEventResultBuilderUpdater<ResultApiRequestData> {

    @Override
    public void update(AuditProto.AttemptAuditEventResult.Builder builder, ResultApiRequestData resultEventData) {
        AuditProto.ResultApiRequestData.Builder resultApiRequestDataBuilder = builderProvider.getNewResultApiRequestDataBuilder();
        doIfTrue(resultEventData.getResponseParameters(), StringUtils::isNotEmpty, resultApiRequestDataBuilder::setResponseParameters);

        builder.setResultApiRequestData(resultApiRequestDataBuilder.build());
    }

    public  ResultApiRequestDataBuildUpdater(ResultApiRequestDataBuilderProvider builderProvider);

}