@SdkInternalApi
    final ListJobsResult executeListJobs(ListJobsRequest listJobsRequest) {

        ExecutionContext executionContext = createExecutionContext(listJobsRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<ListJobsRequest> request = null;
        Response<ListJobsResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new ListJobsRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(listJobsRequest));
                // Binds the request metrics to the current request.
                request.setAWSRequestMetrics(awsRequestMetrics);
                request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint);
                request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden());
                request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
                request.addHandlerContext(HandlerContextKey.SERVICE_ID, "Batch");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListJobs");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

            } finally {
                awsRequestMetrics.endEvent(Field.RequestMarshallTime);
            }

            HttpResponseHandler<AmazonWebServiceResponse<ListJobsResult>> responseHandler = protocolFactory.createResponseHandler(new JsonOperationMetadata()
                    .withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListJobsResultJsonUnmarshaller());
            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Returns a list of Batch jobs.
</p>
<p>
You must specify only one of the following items:
</p>
<ul>
<li>
<p>
A job queue ID to return a list of jobs in that job queue
</p>
</li>
<li>
<p>
A multi-node parallel job ID to return a list of nodes for that job
</p>
</li>
<li>
<p>
An array job ID to return a list of the children for that job
</p>
</li>
</ul>
<p>
You can filter the results by job status with the <code>jobStatus</code> parameter. If you don't specify a
status, only <code>RUNNING</code> jobs are returned.
</p>

@param listJobsRequest
       Contains the parameters for <code>ListJobs</code>.
@return Result of the ListJobs operation returned by the service.
@throws ClientException
        These errors are usually caused by a client action. One example cause is using an action or resource on
        behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying
        an identifier that's not valid.
@throws ServerException
        These errors are usually caused by a server issue.
@sample AWSBatch.ListJobs
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListJobs" target="_top">AWS API
     Documentation</a>
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/AWSBatchClient.java