@Override
    public CancelImportTaskResult cancelImportTask() {
        return cancelImportTask(new CancelImportTaskRequest());
    }
<p>
Cancels an in-process import virtual machine or import snapshot task.
</p>

@param cancelImportTaskRequest
@return Result of the CancelImportTask operation returned by the service.
@sample AmazonEC2.CancelImportTask
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelImportTask" target="_top">AWS API
     Documentation</a>
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2Client.java