@Override
    public DeleteNetworkInterfaceResult deleteNetworkInterface(DeleteNetworkInterfaceRequest request) {
        request = beforeClientExecution(request);
        return executeDeleteNetworkInterface(request);
    }
<p>
Deletes the specified network interface. You must detach the network interface before you can delete it.
</p>

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