@Override
    public TerminateJobFlowsResult terminateJobFlows(TerminateJobFlowsRequest request) {
        request = beforeClientExecution(request);
        return executeTerminateJobFlows(request);
    }
<p>
TerminateJobFlows shuts a list of clusters (job flows) down. When a job flow is shut down, any step not yet
completed is canceled and the Amazon EC2 instances on which the cluster is running are stopped. Any log files not
already saved are uploaded to Amazon S3 if a LogUri was specified when the cluster was created.
</p>
<p>
The maximum number of clusters allowed is 10. The call to <code>TerminateJobFlows</code> is asynchronous.
Depending on the configuration of the cluster, it may take up to 1-5 minutes for the cluster to completely
terminate and release allocated resources, such as Amazon EC2 instances.
</p>

@param terminateJobFlowsRequest
       Input to the <a>TerminateJobFlows</a> operation.
@return Result of the TerminateJobFlows operation returned by the service.
@throws InternalServerErrorException
        Indicates that an error occurred while processing the request and that the request was not completed.
@sample AmazonElasticMapReduce.TerminateJobFlows
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/TerminateJobFlows"
     target="_top">AWS API Documentation</a>
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/AmazonElasticMapReduceClient.java