class JobManagementSpringResource {

    @ApiOperation("Update job's disruption budget")
    @PutMapping(path = "/jobs/{jobId}/disruptionBudget")
    public ResponseEntity<Void> setJobDisruptionBudget(@PathVariable("jobId") String jobId,
                                                       @RequestBody JobDisruptionBudget jobDisruptionBudget,
                                                       CallMetadataAuthentication authentication) {
        JobDisruptionBudgetUpdate request = JobDisruptionBudgetUpdate.newBuilder()
                .setJobId(jobId)
                .setDisruptionBudget(jobDisruptionBudget)
                .build();
        return Responses.fromVoidMono(
                jobServiceGateway.updateJobDisruptionBudget(request, authentication.getCallMetadata()),
                HttpStatus.OK
        );
    }

    @Inject public  JobManagementSpringResource(JobServiceGateway jobServiceGateway, SystemLogService systemLog);

}