class DmaapPropertiesClient {

    protected AVPNDmaapBean buildRequestJson(String requestId, String clientSource, String correlator,
            String serviceInstanceId, String startTime, String finishTime, String requestScope, String requestType,
            String timestamp, String requestState, String statusMessage, String percentProgress,
            Boolean wasRolledBack) {

        RequestStatus requestStatus =
                buildRequestStatus(timestamp, requestState, statusMessage, percentProgress, wasRolledBack);

        InstanceReferences instanceReferences = buildInstanceReferences(serviceInstanceId);

        AsyncRequestStatus asyncRequestStatus = buildAsyncRequestStatus(requestId, clientSource, correlator, startTime,
                finishTime, requestScope, requestType, requestStatus, instanceReferences);

        AVPNDmaapBean dmaapBean = new AVPNDmaapBean();
        dmaapBean.setAsyncRequestStatus(asyncRequestStatus);

        return dmaapBean;
    }

}