转换下面的代码以使用Java流

我有下面一段代码,现在工作得很好,我的查询是,由于我搬到了Java 8,如果我想使用流和lambda进行转换,那么我需要做些什么更改才能实现相同的目的,下面是我的一段代码

 public static StatusRequest getModifiedId(StatusRequest statusRequest) {
        String ceId = statusRequest.getId();
        StringBuilder sb = new StringBuilder();
        sb.append(Constants.NO_FORMAT).append(ceId);
        sb.insert(Constants.NO_TO_LENGTH, "-");
        statusRequest.setceId(sb.toString());
        return statusRequest;
    }