static UpdateSchedulingPolicyRequest toUpdateSchedulingPolicyRequest()

in aws-batch-schedulingpolicy/src/main/java/software/amazon/batch/schedulingpolicy/Translator.java [113:120]


    static UpdateSchedulingPolicyRequest toUpdateSchedulingPolicyRequest(final ResourceModel model) {
        return UpdateSchedulingPolicyRequest
                .builder()
                .arn(model.getArn())
                .fairsharePolicy(model.getFairsharePolicy() != null
                                 ? toRequestFairSharePolicy(model.getFairsharePolicy()) : null)
                .build();
    }